test(emr): complete mocked Spark driver discovery commands (#8665)

This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-16 19:38:07 -04:00
1 parent 39e9cd9d1e
commit 79c074759d
1 file changed
+1
@@ -632,6 +632,7 @@ class EmrServerlessSparkRunnerTest {
.thenReturn(new LaunchImage(pulled, null));
EmrServerlessSparkRunner runner = runner(builder);
when(lifecycle.create(any(), eq("linux/arm64"))).thenReturn("driver");
ContainerExecStubs.completeEveryExec(docker, "driver", 7L, "", "");
// The executors' worker type naming the same custom image.
runner.run(customImageJob(custom).withExecutors(new SparkJobRunner.Executors(2, custom, 0, 0, 0, null))