We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321150e commit b85bca1Copy full SHA for b85bca1
postgresql_embedded/src/error.rs
@@ -108,7 +108,7 @@ mod test {
108
#[tokio::test]
109
async fn test_from_elapsed_error() {
110
let result = tokio::time::timeout(std::time::Duration::from_nanos(1), async {
111
- tokio::time::sleep(std::time::Duration::from_millis(1)).await;
+ tokio::time::sleep(std::time::Duration::from_secs(1)).await;
112
})
113
.await;
114
assert!(result.is_err());
0 commit comments