From f98476d5b40068d37d3c84e7927cacdb588f228a Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:20:28 -0300 Subject: [PATCH] ci: debug multilpe stream test order --- .../test-multi-result-streaming.test.cjs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/integration/test-multi-result-streaming.test.cjs b/test/integration/test-multi-result-streaming.test.cjs index 44701af726..81fc2dcc1f 100644 --- a/test/integration/test-multi-result-streaming.test.cjs +++ b/test/integration/test-multi-result-streaming.test.cjs @@ -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'); @@ -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(); })();