mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-10 05:00:19 +08:00
Stabilize stream runtime nextest timing
This commit is contained in:
@@ -5937,7 +5937,7 @@ mod tests {
|
||||
.expect("execution should return a client response");
|
||||
|
||||
first_data_seen.notified().await;
|
||||
let deadline = tokio::time::Instant::now() + Duration::from_secs(2);
|
||||
let deadline = tokio::time::Instant::now() + Duration::from_secs(15);
|
||||
let live_usage = loop {
|
||||
let usage = usage_repository
|
||||
.find_by_request_id("req-live-stream-first-data")
|
||||
@@ -6102,7 +6102,7 @@ mod tests {
|
||||
.expect("execution should return a client response");
|
||||
|
||||
first_event_seen.notified().await;
|
||||
let deadline = tokio::time::Instant::now() + Duration::from_secs(2);
|
||||
let deadline = tokio::time::Instant::now() + Duration::from_secs(15);
|
||||
let first_event_usage = loop {
|
||||
let usage = usage_repository
|
||||
.find_by_request_id("req-live-stream-first-event")
|
||||
|
||||
@@ -2398,7 +2398,7 @@ mod tests {
|
||||
format!("http://{addr}/chat"),
|
||||
true,
|
||||
ExecutionTimeouts {
|
||||
first_byte_ms: Some(1_000),
|
||||
first_byte_ms: Some(5_000),
|
||||
total_ms: Some(25),
|
||||
..ExecutionTimeouts::default()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user