From 0fec081474afbb1f775602b08d7ae0c666aec440 Mon Sep 17 00:00:00 2001
From: sfc-gh-ext-simba-jy <jonghun.yun@insightsoftware.com>
Date: Sat, 23 Sep 2023 23:49:33 -0700
Subject: [PATCH] revert some codes

---
 test/integration/testHTAP.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/integration/testHTAP.js b/test/integration/testHTAP.js
index ee1a16ffa..febe9b7a1 100644
--- a/test/integration/testHTAP.js
+++ b/test/integration/testHTAP.js
@@ -17,6 +17,7 @@ function getRandomDBNames() {
   return arr;
 }
 
+// Only the AWS servers support the hybrid table in the GitHub action.
 if (process.env.CLOUD_PROVIDER === 'AWS') {
   describe('Query Context Cache test', function () {
     this.retries(3);
@@ -25,7 +26,7 @@ if (process.env.CLOUD_PROVIDER === 'AWS') {
 
     beforeEach(async () => {
       connection = testUtil.createConnection(connOption);
-      testUtil.connectAsync(connection);
+      await testUtil.connectAsync(connection);
     });
 
     after(async () => {
@@ -104,8 +105,7 @@ if (process.env.CLOUD_PROVIDER === 'AWS') {
     }
   
     it('test Query Context Cache', function (done) {
-      const queryTests = createQueryTest();
-      async.series(queryTests, done);
+      async.series(createQueryTest(), done);
     });
   });
 }
\ No newline at end of file