From aec15184ca50a3b1124905819fc3ec253ef5efe9 Mon Sep 17 00:00:00 2001 From: Yaniv Davidi Date: Tue, 31 Aug 2021 15:06:41 +0300 Subject: [PATCH] chore(mysql2): remove unused test.js file (#636) Co-authored-by: Daniel Dyla --- .../test.js | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 plugins/node/opentelemetry-instrumentation-mysql2/test.js diff --git a/plugins/node/opentelemetry-instrumentation-mysql2/test.js b/plugins/node/opentelemetry-instrumentation-mysql2/test.js deleted file mode 100644 index f5e5b13d0bd..00000000000 --- a/plugins/node/opentelemetry-instrumentation-mysql2/test.js +++ /dev/null @@ -1,22 +0,0 @@ -const mysql = require('mysql'); - -process.env.MYSQL_HOST = ''; -const port = Number(process.env.MYSQL_PORT) || 33306; -const database = process.env.MYSQL_DATABASE || 'test_db'; -const host = process.env.MYSQL_HOST || '127.0.0.1'; -const user = process.env.MYSQL_USER || 'otel'; -const password = process.env.MYSQL_PASSWORD || 'secret'; - -const connection = mysql.createConnection({ - port, - user, - host, - password, - database, -}); - -const q = connection.query('select 1+2') - -q.on('result', console.log); -q.on('end', console.log); -q.on('error', console.log);