@@ -53,7 +53,7 @@ class BarrierCoordinatorSuite extends SparkFunSuite with LocalSparkContext with
5353 eventually(timeout(10 .seconds)) {
5454 // Ensure barrierEpoch value have been changed.
5555 val barrierState = getBarrierState(stageId, stageAttemptNumber, barrierCoordinator)
56- assert(barrierState.barrierEpoch == 1 )
56+ assert(barrierState.getBarrierEpoch() == 1 )
5757 assert(barrierState.cleanCheck())
5858 }
5959 }
@@ -81,7 +81,7 @@ class BarrierCoordinatorSuite extends SparkFunSuite with LocalSparkContext with
8181 eventually(timeout(10 .seconds)) {
8282 // Ensure barrierEpoch value have been changed.
8383 val barrierState = getBarrierState(stageId, stageAttemptNumber, barrierCoordinator)
84- assert(barrierState.barrierEpoch == 1 )
84+ assert(barrierState.getBarrierEpoch() == 1 )
8585 assert(barrierState.cleanCheck())
8686 }
8787 }
@@ -124,7 +124,7 @@ class BarrierCoordinatorSuite extends SparkFunSuite with LocalSparkContext with
124124 eventually(timeout(10 .seconds)) {
125125 // Ensure barrierEpoch value have been changed.
126126 val barrierState = getBarrierState(stageId, stageAttemptNumber, barrierCoordinator)
127- assert(barrierState.barrierEpoch == 1 )
127+ assert(barrierState.getBarrierEpoch() == 1 )
128128 assert(barrierState.cleanCheck())
129129 }
130130 intercept[SparkException ](
0 commit comments