Skip to content

Commit

Permalink
test: update unit and integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Oct 30, 2024
1 parent 2544203 commit 3d30b8a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ describe("rwperformance", () => {
for (const instance of env.databaseInfo.instances) {
if (instance.host && instance.port) {
const client = DriverHelper.getClient(driver)(initReadWritePluginConfig(instance.host, instance.port));
client.on("error", (err: any) => {
logger.debug(err.message);
});

await PerfTestUtility.connectWithRetry(client);
await client.setReadOnly(true);
await client.setReadOnly(false);
Expand Down

0 comments on commit 3d30b8a

Please sign in to comment.