Skip to content

Commit

Permalink
ci: debug multilpe stream test order
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Apr 26, 2024
1 parent f5bb633 commit f98476d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/integration/test-multi-result-streaming.test.cjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
'use strict';

const { assert } = require('poku');
const { createConnection } = require('../common.test.cjs');

(async () => {
'use strict';

const conn = createConnection({ multipleStatements: true }),
captured1 = [],
captured2 = [],
sql1 =
'select * from information_schema.columns order by table_schema, table_name, column_name limit 1;',
sql2 =
'select * from information_schema.columns order by table_schema, table_name limit 1;';
const conn = createConnection({ multipleStatements: true });
const captured1 = [];
const captured2 = [];
const sql1 =
'select * from information_schema.columns order by table_schema, table_name, column_name limit 1;';
const sql2 =
'select * from information_schema.columns order by table_schema, table_name, ordinal_position limit 1;';

await conn.promise().query('set global max_allowed_packet=524288000');

Expand Down Expand Up @@ -51,5 +51,5 @@ const { createConnection } = require('../common.test.cjs');
assert.deepEqual(captured1[0], compare1[0][0]);
assert.deepEqual(captured2[0], compare2[0][0]);

conn.destroy();
conn.end();
})();

0 comments on commit f98476d

Please sign in to comment.