From 1c4651e5f3c959cf289bf8d24ae5470274c5133a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 24 Feb 2023 17:28:28 -0800 Subject: [PATCH] Fix tests with nondeterministic ordering --- tests/testsuite/inheritable_workspace_fields.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/inheritable_workspace_fields.rs b/tests/testsuite/inheritable_workspace_fields.rs index 261808940fb..d32419d7e69 100644 --- a/tests/testsuite/inheritable_workspace_fields.rs +++ b/tests/testsuite/inheritable_workspace_fields.rs @@ -283,7 +283,8 @@ fn inherit_own_dependencies() { Package::new("dep-dev", "0.5.2").publish(); p.cargo("check") - .with_stderr( + // Unordered because the download order is nondeterministic. + .with_stderr_unordered( "\ [UPDATING] `[..]` index [DOWNLOADING] crates ... @@ -813,7 +814,8 @@ fn inherit_dependencies() { Package::new("dep-dev", "0.5.2").publish(); p.cargo("check") - .with_stderr( + // Unordered because the download order is nondeterministic. + .with_stderr_unordered( "\ [UPDATING] `[..]` index [DOWNLOADING] crates ...