Skip to content

Commit

Permalink
mark thread priority test as ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpyattaev committed Jan 14, 2025
1 parent 0a440a0 commit 49a83aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions thread-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ mod tests {
let affinity = affinity::get_thread_affinity().unwrap();
assert_eq!(affinity, expect_cores, "{}", error_msg);
}

/* #[test]
#[test]
#[cfg(target_os = "linux")]
#[ignore] //test ignored for now as thread priority requires kernel support and extra permissions
fn test_thread_priority() {
let priority_high = 10;
let priority_default = crate::policy::DEFAULT_PRIORITY;
Expand Down Expand Up @@ -303,7 +304,7 @@ mod tests {
.unwrap()
.join()
.unwrap();
}*/
}

#[cfg(target_os = "linux")]
#[test]
Expand Down

0 comments on commit 49a83aa

Please sign in to comment.