From 3fa865d77556d8e73c3df0564cadc6e096085a6f Mon Sep 17 00:00:00 2001 From: Tam Mach Date: Mon, 3 Oct 2022 23:53:10 +1100 Subject: [PATCH] test/connectivity: Run connectivity test in non-default namespace This is to make sure that we have the coverage of running tests in a namespace other than cilium-test. Relates: https://github.com/cilium/cilium-cli/issues/1109#issuecomment-1260777569 Signed-off-by: Tam Mach --- .github/workflows/kind.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kind.yaml b/.github/workflows/kind.yaml index b0039731dc..60386086b3 100644 --- a/.github/workflows/kind.yaml +++ b/.github/workflows/kind.yaml @@ -74,7 +74,8 @@ jobs: - name: Connectivity Test run: | - cilium connectivity test --debug --all-flows + # Run the connectivity test in non-default namespace (i.e. not cilium-test) + cilium connectivity test --debug --all-flows --test-namespace test-namespace - name: Uninstall cilium run: | @@ -97,7 +98,7 @@ jobs: - name: Connectivity test run: | - cilium connectivity test --debug --force-deploy --all-flows + cilium connectivity test --debug --force-deploy --all-flows --test-namespace another-test-namespace - name: Cleanup if: ${{ always() }}