0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
Igor Zinkovsky f4305433dc
fix(test) reduce queue persistence test time from 60 secs to 6 secs (#21142)
This PR reduces the time to run `queue persistence with inflight
messages` test from 60 seconds down to about 6 seconds.

The test simulates a crash to ensure that inflight messages are cleaned
up and re-queued when the new process starts. Since messages are
considered dead after 5 seconds of being queued, reopening the db within
5 seconds does not re-queue the messages on startup (they do get
re-queued after 60 seconds, which is the cleanup frequency). By waiting
for 5 seconds before reopening the db, the test ensures that the cleanup
happens quickly when the db is opened.
2023-11-10 11:28:38 +01:00
..
integration fix(node): cjs export analysis should probe for json files (#21113) 2023-11-07 16:38:55 -05:00
node_compat fix(ext): use String#toWellFormed in ext/webidl and ext/node (#21054) 2023-11-06 22:18:28 +01:00
testdata fix(byonm): correct resolution for scoped packages (#21083) 2023-11-06 08:35:26 -05:00
unit fix(test) reduce queue persistence test time from 60 secs to 6 secs (#21142) 2023-11-10 11:28:38 +01:00
unit_node fix(node/child_process): properly normalize stdio for 'spawnSync' (#21103) 2023-11-10 05:59:39 +00:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00