Created
August 5, 2016 23:05
-
-
Save futile/6ea3eed85fe632df8633c1b03c08b012 to your computer and use it in GitHub Desktop.
Test timeout warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running 2 tests | |
test test_fooblubb has been running for over 60 seconds | |
test test_fooblubb2 has been running for over 60 seconds | |
test test_fooblubb2 ... ok | |
test test_fooblubb ... ok | |
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[test] | |
fn test_fooblubb() { | |
use std::time::Duration; | |
use std::thread; | |
thread::sleep(Duration::from_secs(70)); | |
} | |
#[test] | |
fn test_fooblubb2() { | |
use std::time::Duration; | |
use std::thread; | |
thread::sleep(Duration::from_secs(70)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment