feat(milestones): add POST /api/milestones endpoint and resolve collapsible_if warnings (TD-fc685b13-d9c2-4a57-ac4d-5228a71a2ec0)
This commit is contained in:
1 parent
8f924b793a
commit
d792b50343
6 files changed
+47
-31
No files matched your search
@@ -40,7 +40,7 @@ async fn test_stub_connection_refused() {
|
||||
.spawn()
|
||||
.expect("Failed to execute stub");
|
||||
|
||||
let res = tokio::time::timeout(Duration::from_secs(5), child.wait()).await;
|
||||
let res = tokio::time::timeout(Duration::from_secs(15), child.wait()).await;
|
||||
let elapsed = start.elapsed();
|
||||
|
||||
assert!(
|
||||
@@ -71,7 +71,7 @@ async fn test_stub_handles_eof_cleanly() {
|
||||
} // stdin dropped here
|
||||
|
||||
let start = Instant::now();
|
||||
let res = tokio::time::timeout(Duration::from_secs(5), child.wait()).await;
|
||||
let res = tokio::time::timeout(Duration::from_secs(15), child.wait()).await;
|
||||
let elapsed = start.elapsed();
|
||||
|
||||
assert!(res.is_ok(), "Stub hung after EOF! Took {elapsed:?}");
|
||||
@@ -102,7 +102,7 @@ async fn test_stub_sse_fallback_failure() {
|
||||
.spawn()
|
||||
.expect("Failed to execute stub");
|
||||
|
||||
let res = tokio::time::timeout(Duration::from_secs(5), child.wait()).await;
|
||||
let res = tokio::time::timeout(Duration::from_secs(15), child.wait()).await;
|
||||
let elapsed = start.elapsed();
|
||||
|
||||
assert!(
|
||||
|
||||
Reference in new issue
Block a user