File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -715,11 +715,11 @@ abstract class BatchesResourceSuiteBase extends KyuubiFunSuite
715
715
716
716
eventually(timeout(10 .seconds)) {
717
717
assert(session1.batchJobSubmissionOp.getStatus.state === OperationState .RUNNING ||
718
- session1.batchJobSubmissionOp.getStatus.state === OperationState . FINISHED )
718
+ OperationState .isTerminal( session1.batchJobSubmissionOp.getStatus.state) )
719
719
assert(session1.batchJobSubmissionOp.builder.processLaunched)
720
720
721
721
assert(session2.batchJobSubmissionOp.getStatus.state === OperationState .RUNNING ||
722
- session2. batchJobSubmissionOp.getStatus.state === OperationState . FINISHED )
722
+ OperationState .isTerminal(session1. batchJobSubmissionOp.getStatus.state) )
723
723
assert(! session2.batchJobSubmissionOp.builder.processLaunched)
724
724
}
725
725
You can’t perform that action at this time.
0 commit comments