mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Update snapshot files to standardize messageCursor redaction
- Replaced specific messageCursor values with a placeholder "[message-cursor]" across multiple snapshot files to ensure consistency in test outputs. - Adjusted the test utility to add redaction for messageCursor, addressing non-deterministic behavior in macOS environments.
This commit is contained in:
parent
e934912b4a
commit
6e323660e0
33 changed files with 39 additions and 34 deletions
|
|
@ -47,8 +47,11 @@ const STRESS_OP_DELAY_MS: u64 = 250;
|
|||
const STRESS_OP_DELAY_MS: u64 = 30;
|
||||
|
||||
/// Poll timeout for stress tests that wait for the tree to settle (ms).
|
||||
/// macOS kqueue generates per-file vnode events for every rename, and each
|
||||
/// event triggers a re-snapshot of the parent directory. Under heavy CI load
|
||||
/// (e.g., 5-file simultaneous rename chains), 15s can be insufficient.
|
||||
#[cfg(target_os = "macos")]
|
||||
const STRESS_POLL_TIMEOUT_MS: u64 = 15000;
|
||||
const STRESS_POLL_TIMEOUT_MS: u64 = 30000;
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
const STRESS_POLL_TIMEOUT_MS: u64 = 5000;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue