mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
test(eks): preserve readiness command failures (#7369)
Signed-off-by: Andre Kurait <akurait@amazon.com> Signed-off-by: Jackson Price <jxnprice@amazon.com> Co-authored-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
1 parent
e09ca1abe5
commit
2b07f85a71
1 file changed
+1
-8
+1
-8
@@ -435,13 +435,6 @@ class EksRegistryHostsDockerIntegrationTest {
|
||||
}
|
||||
|
||||
private ContainerExec.Result execInContainerWithExitCode(String containerId, String[] cmd) {
|
||||
try {
|
||||
return ContainerExec.run(dockerClient, containerId, cmd, 30);
|
||||
} catch (RuntimeException failure) {
|
||||
if (Thread.currentThread().isInterrupted()) {
|
||||
throw failure;
|
||||
}
|
||||
return new ContainerExec.Result(-1, "", failure.toString(), false);
|
||||
}
|
||||
return ContainerExec.run(dockerClient, containerId, cmd, 30);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user