Skip to content

Commit

Permalink
added retry
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jy committed Sep 22, 2023
1 parent 8be5ddc commit 1f4c1d2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/integration/testHTAP.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const { configureLogger } = require('../configureLogger');
const Logger = require('../../lib/logger');


if(process.env.CLOUD_PROVIDER === 'AWS') {
// if(process.env.CLOUD_PROVIDER === 'AWS') {
describe('Query Context Cache test', function () {

this.retries(3);
let connection;
before(async () => {
beforeEach(async () => {
configureLogger('TRACE');
connection = testUtil.createConnection(connOption);
testUtil.connectAsync(connection);
Expand Down Expand Up @@ -49,14 +49,14 @@ if(process.env.CLOUD_PROVIDER === 'AWS') {
],
QccSize: 4,
},
// {
// sqlTexts: [
// 'select * from db1.public.t1 x, db2.public.t2 y, db3.public.t3 z where x.a = y.a and y.a = z.a;',
// 'select * from db1.public.t1 x, db2.public.t2 y where x.a = y.a;',
// 'select * from db2.public.t2 y, db3.public.t3 z where y.a = z.a;'
// ],
// QccSize: 4,
// },
{
sqlTexts: [
'select * from db1.public.t1 x, db2.public.t2 y, db3.public.t3 z where x.a = y.a and y.a = z.a;',
'select * from db1.public.t1 x, db2.public.t2 y where x.a = y.a;',
'select * from db2.public.t2 y, db3.public.t3 z where y.a = z.a;'
],
QccSize: 4,
},
];


Expand Down Expand Up @@ -110,4 +110,4 @@ if(process.env.CLOUD_PROVIDER === 'AWS') {
async.series(queryTests,done);
});
});
}
// }

0 comments on commit 1f4c1d2

Please sign in to comment.