Skip to content

Commit

Permalink
[misc] test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Dec 1, 2023
1 parent 7c92f87 commit fd6cdde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/test-connection-opts.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ describe('connection option', () => {
conn
.query({
timeout: 1000,
sql: 'SELECT 1;select c1.* from information_schema.columns as c1, information_schema.tables, information_schema.tables as t2'
sql: 'select c1.COLUMN_NAME from information_schema.columns as c1, information_schema.tables, information_schema.tables as t2'
})
.then(() => {
conn.end();
Expand All @@ -381,12 +381,12 @@ describe('connection option', () => {
.catch(done);
} else {
base
.createConnection({ multipleStatements: true, queryTimeout: 10000000 })
.createConnection({ multipleStatements: true, queryTimeout: 10000 })
.then((conn) => {
conn
.query({
timeout: 1000,
sql: 'SELECT 1;select c1.* from information_schema.columns as c1, information_schema.tables, information_schema.tables as t2'
sql: 'select c1.COLUMN_NAME from information_schema.columns as c1, information_schema.tables, information_schema.tables as t2'
})
.then(() => {
conn.end();
Expand Down

0 comments on commit fd6cdde

Please sign in to comment.