Skip to content

Commit 034814b

Browse files
test(conformance): wait for labeled sandboxes and allow a 60s on-failure restart
Deleting a Docker sandbox that is still starting fails with a 409 because its supervisor volume is in use, so the labels test now waits for Ready before cleanup. The VM driver needs more than 45s to report an on-failure restart; the original e2e test allowed 60s. Signed-off-by: Matthew Grossman <[email protected]>
1 parent 84b2f06 commit 034814b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/suites/conformance/src/labels.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async fn labels_are_stored_and_filter_list(cx: &mut Context) -> testkit::Result
2626
let sandbox = cx
2727
.sandbox(suffix)
2828
.spec(|spec| spec.labels = labels.clone())
29-
.create()
29+
.create_ready()
3030
.await?;
3131
let got = sandbox.get().await?;
3232
testkit::ensure!(

‎tests/suites/conformance/src/lifecycle.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ async fn main_environment(
393393
/// How long a restart under the on-failure policy may take to be reported.
394394
/// The runner kills a test after two minutes, so the test's deadlines must
395395
/// add up to less.
396-
const RESTART_TIMEOUT: Duration = Duration::from_secs(45);
396+
const RESTART_TIMEOUT: Duration = Duration::from_secs(60);
397397
/// How long a running main command may take to write its workspace marker.
398398
const MARKER_TIMEOUT: Duration = Duration::from_secs(15);
399399

0 commit comments

Comments
 (0)