holdenk commented on a change in pull request #29211:
URL: https://github.com/apache/spark/pull/29211#discussion_r465321315



##########
File path: 
core/src/test/scala/org/apache/spark/storage/BlockManagerDecommissionUnitSuite.scala
##########
@@ -77,13 +187,30 @@ class BlockManagerDecommissionUnitSuite extends 
SparkFunSuite with Matchers {
     try {
       bmDecomManager.start()
 
-      eventually(timeout(5.second), interval(10.milliseconds)) {
+      var previousRDDTime = Long.MaxValue
+      var previousShuffleTime = Long.MaxValue

Review comment:
       Sure.

##########
File path: 
core/src/test/scala/org/apache/spark/storage/BlockManagerDecommissionUnitSuite.scala
##########
@@ -77,13 +187,30 @@ class BlockManagerDecommissionUnitSuite extends 
SparkFunSuite with Matchers {
     try {
       bmDecomManager.start()
 
-      eventually(timeout(5.second), interval(10.milliseconds)) {
+      var previousRDDTime = Long.MaxValue
+      var previousShuffleTime = Long.MaxValue
+
+      // We don't check that all blocks are migrated because out mock is 
always returning an RDD.
+      eventually(timeout(10.second), interval(10.milliseconds)) {

Review comment:
       Yeah I can do that.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to