Yikun commented on a change in pull request #35807:
URL: https://github.com/apache/spark/pull/35807#discussion_r824247395



##########
File path: 
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala
##########
@@ -402,8 +410,8 @@ private[spark] trait VolcanoTestsSuite extends 
BeforeAndAfterEach { k8sSuite: Ku
         m += (p -> Instant.parse(scheduledTime))
       }
       // high --> medium --> low
-      assert(m("high").isBefore(m("medium")))
-      assert(m("medium").isBefore(m("low")))
+      assert(m("high").isBefore(m("medium")) || m("high").equals(m("medium")))

Review comment:
       then we can remove equal because the driver submission can be completed 
in serial due to [queue 
cap](https://github.com/apache/spark/blob/master/resource-managers/kubernetes/integration-tests/src/test/resources/volcano/enable-queue.yml).




-- 
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.

To unsubscribe, e-mail: [email protected]

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