Continue making AspectTest.topLevelConflictDetected not flaky
A previous change recently make the preceding exception message check
insensitive to aspect analysis order. This one should be too.
RELNOTES: None.
@@ -989,8 +989,8 @@ public class AspectTest extends AnalysisTestCase {
"//foo:foo"));
assertThat(exception)
.hasMessageThat()
- .contains(
- "ConflictException: for foo/aspect.out, previous action: action 'Action for aspect 1',"
- + " attempted action: action 'Action for aspect 2'");
+ .containsMatch(
+ "ConflictException: for foo/aspect.out, previous action: action 'Action for aspect .',"
+ + " attempted action: action 'Action for aspect .'");
}
}
