Skip to content

Commit

Permalink
patch misleading comment + sleep infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Oct 24, 2024
1 parent 4156f7e commit 807b8b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/aks-runtime/aks_runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestAKSRuntime(t *testing.T) {
WithContainers(kuberesource.Container().
WithName(testContainer).
WithImage("docker.io/bash@sha256:ce062497c248eb1cf4d32927f8c1780cce158d3ed0658c586a5be7308d583cbb").
WithCommand("/usr/local/bin/bash", "-c", "uname -r; while true; do sleep 10; done"),
WithCommand("/usr/local/bin/bash", "-c", "uname -r; sleep infinity"),
),
),
),
Expand All @@ -97,7 +97,7 @@ func TestAKSRuntime(t *testing.T) {
require.NoError(os.WriteFile(path.Join(workdir, "resources.yaml"), resourceBytes, 0o644))
require.NoError(az.KataPolicyGen(path.Join(workdir, "resources.yaml")))

// load in generated resources and patch the runtime handler again
// load in generated resources
resourceBytes, err = os.ReadFile(path.Join(workdir, "resources.yaml"))
require.NoError(err)
toApply, err := kubeapi.UnmarshalUnstructuredK8SResource(resourceBytes)
Expand Down

0 comments on commit 807b8b3

Please sign in to comment.