fix: tests after DinD update

This commit is contained in:
Pasha Sviderski
2026-04-15 21:00:12 +10:00
parent f8234916cb
commit 102421df19
+1 -1
View File
@@ -121,7 +121,7 @@ func TestExecBasicCommands(t *testing.T) {
exitCode, err := cli.ExecContainer(ctx, serviceName, "", execOptions) exitCode, err := cli.ExecContainer(ctx, serviceName, "", execOptions)
require.NoError(t, err, "exec should not fail, but command should return non-zero exit") require.NoError(t, err, "exec should not fail, but command should return non-zero exit")
assert.Equal(t, 126, exitCode, "invalid command should return non-zero exit code") assert.Equal(t, 127, exitCode, "invalid command should return non-zero exit code")
assert.Contains(t, stdout.String(), "executable file not found") assert.Contains(t, stdout.String(), "executable file not found")
assert.Equal(t, "", stderr.String(), "stderr should be empty") assert.Equal(t, "", stderr.String(), "stderr should be empty")
}) })