Stabilize relay lock TestClock timing
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
404cba92f6
commit
f1d324b9d2
1 file changed
+2
@@ -354,7 +354,9 @@ describe("RelayClient", () => {
|
||||
});
|
||||
|
||||
const install = yield* manager.install.pipe(Effect.flip, Effect.forkScoped);
|
||||
yield* Effect.yieldNow;
|
||||
yield* TestClock.adjust(Duration.seconds(10));
|
||||
yield* Effect.yieldNow;
|
||||
const error = yield* Fiber.join(install);
|
||||
|
||||
assert.ok(error instanceof RelayClientInstallError);
|
||||
|
||||
Reference in new issue
Block a user