Skip to content

Commit ca25fb2

Browse files
committed
Remove Sleep
1 parent 303f4f8 commit ca25fb2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiBatchService.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ class KyuubiBatchService(
143143
error(s"Unable to modify metadata for $batchId to ERROR", ex)
144144
}
145145
}
146-
Thread.sleep(1000)
147146
}
148147
}
149148
}

kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/BatchesResourceSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ class BatchesV2ResourceSuite extends BatchesResourceSuiteBase {
111111
val batchInfo = batchInfoResponse.readEntity(classOf[Batch])
112112
assert(
113113
batchInfo.getState === "ERROR",
114-
"Batch should eventually become ERROR after being picked and failed by the " +
115-
"catch path, rather than remaining stuck in PENDING")
114+
"Batch should eventually become ERROR after being picked and failed by the " +
115+
"catch path, rather than remaining stuck in PENDING")
116116
}
117117

118118
sessionManager.metadataManager = originalMetadataManager

0 commit comments

Comments
 (0)