Skip to content

Commit

Permalink
DriverSubmissionTest
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzl25 committed Feb 19, 2024
1 parent bc53d3d commit 292ea91
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,15 @@ abstract class BatchesResourceSuiteBase extends KyuubiFunSuite
getBatchJobSubmissionStateCounter(OperationState.ERROR)

val batchId = UUID.randomUUID().toString
val requestObj = newSparkBatchRequest(Map(
"spark.master" -> "local",
KYUUBI_BATCH_ID_KEY -> batchId))
val requestObj = newBatchRequest(
sparkBatchTestBatchType,
sparkBatchTestResource.get,
"org.apache.spark.examples.DriverSubmissionTest",
"DriverSubmissionTest-" + batchId,
Map(
"spark.master" -> "local",
KYUUBI_BATCH_ID_KEY -> batchId),
Seq("120"))

eventually(timeout(10.seconds)) {
val response = webTarget.path("api/v1/batches")
Expand Down

0 comments on commit 292ea91

Please sign in to comment.