Skip to content

Commit 3a993a6

Browse files
committed
Ignore sleep_until test on SGX
1 parent 0f35336 commit 3a993a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/tests/thread.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ fn sleep_very_long() {
1919
}
2020

2121
#[test]
22+
#[cfg_attr(target_env = "sgx", ignore = "Time within SGX enclave cannot be trusted")]
2223
fn sleep_until() {
2324
let now = Instant::now();
2425
let period = Duration::from_millis(100);

0 commit comments

Comments
 (0)