Skip to content

Instantly share code, notes, and snippets.

@futile
Created August 5, 2016 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save futile/6ea3eed85fe632df8633c1b03c08b012 to your computer and use it in GitHub Desktop.
Save futile/6ea3eed85fe632df8633c1b03c08b012 to your computer and use it in GitHub Desktop.
Test timeout warnings
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
#[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