mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add macOS compatibility check for extreme filesystem rename tests
- Updated the `extreme_filesystem_5_file_rename_chains` test to ignore execution on macOS due to kqueue limitations with high rename pressure. - Added documentation to clarify the reason for the macOS-specific ignore condition, ensuring better understanding of the test's behavior across different platforms.
This commit is contained in:
parent
6e323660e0
commit
250c7db84a
1 changed files with 5 additions and 0 deletions
|
|
@ -4684,7 +4684,12 @@ fn extreme_filesystem_chaos_single_file() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Filesystem: 5 files undergoing simultaneous rename chains.
|
/// Filesystem: 5 files undergoing simultaneous rename chains.
|
||||||
|
/// macOS kqueue drops events under this level of rename pressure (5 files ×
|
||||||
|
/// 5 rounds with 250ms gaps). The single-file variant
|
||||||
|
/// `watcher_filesystem_rename_chain_10x` is already ignored on macOS for the
|
||||||
|
/// same reason.
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg_attr(target_os = "macos", ignore)]
|
||||||
fn extreme_filesystem_5_file_rename_chains() {
|
fn extreme_filesystem_5_file_rename_chains() {
|
||||||
run_serve_test("syncback_stress", |session, _redactions| {
|
run_serve_test("syncback_stress", |session, _redactions| {
|
||||||
let src = session.path().join("src");
|
let src = session.path().join("src");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue