From b1bcc9c8348db006aa94bb76281357184934eea9 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 15 Dec 2022 20:04:50 -0800 Subject: [PATCH] Fix collision_doc_profile test error --- tests/testsuite/collisions.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testsuite/collisions.rs b/tests/testsuite/collisions.rs index 98a4fe6ae32..77e05dd9c6d 100644 --- a/tests/testsuite/collisions.rs +++ b/tests/testsuite/collisions.rs @@ -355,8 +355,10 @@ fn collision_doc_profile_split() { .build(); // Just to verify that common is normally built twice. + // This is unordered because in rare cases `pm` may start + // building in-between the two `common`. p.cargo("build -v") - .with_stderr( + .with_stderr_unordered( "\ [UPDATING] [..] [DOWNLOADING] crates ...