File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/test/java/com/iexec/worker/docker Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ TaskDescription getStubTaskDescription(boolean isTeeTask) {
5959 .maxExecutionTime (500000 ) // 5min
6060 .cmd ("ls" )
6161 .inputFiles (new ArrayList <>())
62+ .teePostComputeImage ("registry/post-compute-app:tag" )
6263 .build ();
6364 }
6465
@@ -156,6 +157,7 @@ public void shouldComputeTeeTask() {
156157 when (sconeTeeService .createSconeSecureSession (any ()))
157158 .thenReturn (awesomeSessionId );
158159 when (sconeTeeService .buildSconeDockerEnv (any (), any (), any ())).thenReturn (stubSconeEnv );
160+ when (customDockerClient .pullImage (anyString (), anyString ())).thenReturn (true );
159161 when (customDockerClient .execute (any ()))
160162 .thenReturn (DockerExecutionResult .success ("Computed successfully !" , "containerName" ))
161163 .thenReturn (DockerExecutionResult .success ("Encrypted successfully !" , "containerName" ));
You can’t perform that action at this time.
0 commit comments