Skip to content

Commit b28950e

Browse files
committed
--wip-- [skip ci]
1 parent 61e47a2 commit b28950e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/client/lib/tests/test-scenario/timeout-during-notifications.e2e.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,23 @@ describe("Timeout Handling During Notifications", () => {
6262
});
6363

6464
await client.flushAll();
65+
66+
// Ensure the endpoint is pointing at the correct node before each test
67+
try{
68+
const { action_id: bindActionId } = await faultInjectorClient.triggerAction(
69+
{
70+
type: "bind",
71+
parameters: {
72+
bdb_id: clientConfig.bdbId.toString(),
73+
cluster_index: 0,
74+
},
75+
}
76+
);
77+
await faultInjectorClient.waitForAction(bindActionId);
78+
} catch(error) {
79+
80+
}
81+
6582
});
6683

6784
afterEach(() => {

0 commit comments

Comments
 (0)