Skip to content

Commit a2dee55

Browse files
committed
test http bin in a vacuum
1 parent 8343dae commit a2dee55

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/tests.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ async function runPingLoop() {
1717
}
1818

1919
const endTime = Date.now();
20-
console.log('HTTP bin container response time:', endTime - startTime, 'ms');
20+
const difference = endTime - startTime;
21+
22+
if (difference > 1000) {
23+
console.log('HTTP bin container response time:', endTime - startTime, 'ms');
24+
}
25+
2126
await wait(100);
2227
}
2328
}

0 commit comments

Comments
 (0)