@@ -586,12 +586,12 @@ class DAGSchedulerSuite
586586 Map [Long , Any ](),
587587 createFakeTaskInfo(),
588588 null ))
589- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
589+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
590590 assert(sparkListener.failedStages.contains(1 ))
591591
592592 // Trigger resubmission of the failed map stage.
593593 runEvent(ResubmitFailedStages )
594- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
594+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
595595
596596 // Another attempt for the map stage should have been submitted, resulting in 2 total attempts.
597597 assert(countSubmittedMapStageAttempts() === 2 )
@@ -608,7 +608,7 @@ class DAGSchedulerSuite
608608 // Another ResubmitFailedStages event should not result result in another attempt for the map
609609 // stage being run concurrently.
610610 runEvent(ResubmitFailedStages )
611- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
611+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
612612 assert(countSubmittedMapStageAttempts() === 2 )
613613
614614 // NOTE: the actual ResubmitFailedStages may get called at any time during this, shouldn't effect anything --
@@ -634,7 +634,7 @@ class DAGSchedulerSuite
634634 }
635635
636636 // The map stage should have been submitted.
637- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
637+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
638638 assert(countSubmittedMapStageAttempts() === 1 )
639639
640640 // Complete the map stage.
@@ -643,7 +643,7 @@ class DAGSchedulerSuite
643643 (Success , makeMapStatus(" hostB" , 1 ))))
644644
645645 // The reduce stage should have been submitted.
646- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
646+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
647647 assert(countSubmittedReduceStageAttempts() === 1 )
648648
649649 // The first result task fails, with a fetch failure for the output from the first mapper.
@@ -661,7 +661,7 @@ class DAGSchedulerSuite
661661
662662 // Because the map stage finished, another attempt for the reduce stage should have been
663663 // submitted, resulting in 2 total attempts for each the map and the reduce stage.
664- assert( sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS ) )
664+ sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS )
665665 assert(countSubmittedMapStageAttempts() === 2 )
666666 assert(countSubmittedReduceStageAttempts() === 2 )
667667
0 commit comments