From 47f0c0797a3bc9544c7b99fa77c0c3adb31d6c03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:33:26 +0000 Subject: [PATCH] Bump helm/kind-action from 1.9.0 to 1.12.0 in /.github/workflows (#51254) * Bump helm/kind-action from 1.9.0 to 1.12.0 in /.github/workflows Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.12.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](https://github.com/helm/kind-action/compare/99576bfa6ddf9a8e612d83b513da5a75875caced...a1b0e391336a6ee6713a0583f8c6240d70863de3) --- updated-dependencies: - dependency-name: helm/kind-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tiago Silva --- .github/workflows/kube-integration-tests-non-root.yaml | 2 +- integration/kube_integration_test.go | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kube-integration-tests-non-root.yaml b/.github/workflows/kube-integration-tests-non-root.yaml index a8ff7f38d1a42..c13c0d130b55b 100644 --- a/.github/workflows/kube-integration-tests-non-root.yaml +++ b/.github/workflows/kube-integration-tests-non-root.yaml @@ -69,7 +69,7 @@ jobs: continue-on-error: true - name: Create KinD cluster - uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced # v1.9.0 + uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 with: cluster_name: kind config: fixtures/kind/config.yaml diff --git a/integration/kube_integration_test.go b/integration/kube_integration_test.go index 51568d0e6bc7e..946b599c881a7 100644 --- a/integration/kube_integration_test.go +++ b/integration/kube_integration_test.go @@ -1245,6 +1245,11 @@ func runKubeDisconnectTest(t *testing.T, suite *KubeSuite, tc disconnectTestCase require.NoError(t, err) }() + require.Eventually(t, func() bool { + // wait for the shell prompt + return strings.Contains(term.AllOutput(), "#") + }, 5*time.Second, 10*time.Millisecond) + // lets type something followed by "enter" and then hang the session require.NoError(t, enterInput(sessionCtx, term, "echo boring platypus\r\n", ".*boring platypus.*")) time.Sleep(tc.disconnectTimeout)