Skip to content

Commit d435d0a

Browse files
author
Islam Hassan
committed
Fixed a failing test.
1 parent 875ce5a commit d435d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

job-server/test/spark.jobserver/JobManagerSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ abstract class JobManagerSpec extends JobSpecBase(JobManagerSpec.getNewSystem) {
117117
uploadTestJar()
118118
manager ! JobManagerActor.StartJob("demo", classPrefix + "MyErrorJob", emptyConfig, errorEvents)
119119
val errorMsg = expectMsgClass(startJobWait, classOf[JobErroredOut])
120-
errorMsg.err.getClass should equal (classOf[IllegalArgumentException])
120+
errorMsg.err.getClass should equal (classOf[RuntimeException])
121121
}
122122

123123
it("job should get jobConfig passed in to StartJob message") {

0 commit comments

Comments
 (0)