File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1307,7 +1307,7 @@ TEST_F(TUSchedulerTests, PublishWithStalePreamble) {
1307
1307
ASSERT_THAT (BlockForDiags (PI), testing::Pair (" 1" , " 3" ));
1308
1308
1309
1309
UnblockPreamble.notify ();
1310
- S.blockUntilIdle (timeoutSeconds (5 ));
1310
+ ASSERT_TRUE ( S.blockUntilIdle (timeoutSeconds (5 ) ));
1311
1311
1312
1312
// Make sure that we have eventual consistency.
1313
1313
EXPECT_THAT (Collector.diagVersions ().back (), Pair (PI.Version , PI.Version ));
@@ -1316,7 +1316,7 @@ TEST_F(TUSchedulerTests, PublishWithStalePreamble) {
1316
1316
PI.Version = " 4" ;
1317
1317
PI.Contents = " #define FOO\n " + PI.Version ;
1318
1318
S.update (File, PI, WantDiagnostics::No);
1319
- S.blockUntilIdle (timeoutSeconds (5 ));
1319
+ ASSERT_TRUE ( S.blockUntilIdle (timeoutSeconds (5 ) ));
1320
1320
EXPECT_THAT (Collector.diagVersions ().back (), Pair (" 3" , " 3" ));
1321
1321
}
1322
1322
You can’t perform that action at this time.
0 commit comments