fix: align node host hints + deflake block streaming test (#1461) (thanks @ameno-)
This commit is contained in:
1 parent
fd27d40b85
commit
bc56aac3bd
5 files changed
+7
-5
No files matched your search
@@ -42,7 +42,7 @@ describe("block streaming", () => {
|
||||
});
|
||||
|
||||
async function waitForCalls(fn: () => number, calls: number) {
|
||||
const deadline = Date.now() + 1500;
|
||||
const deadline = Date.now() + 5000;
|
||||
while (fn() < calls) {
|
||||
if (Date.now() > deadline) {
|
||||
throw new Error(`Expected ${calls} call(s), got ${fn()}`);
|
||||
|
||||
Reference in new issue
Block a user