Skip to content

Conversation

@jgwest
Copy link
Member

@jgwest jgwest commented Jun 6, 2024

What does this PR do / why we need it:

  • At the moment, we have a generic set of E2E tests defined in the tests/e2e package, but by default we only run these during namespace-scoped tests
  • However, we can easily extend these tests to work in the cluster-scoped case as well.
  • Now the tests will run for both cases.

Have you updated the necessary documentation?

  • Documentation update is required by this PR, and has been updated.

@jgwest jgwest force-pushed the switch-to-cluster-scoped-test-default-may-2024 branch from 53dc87c to fe739ab Compare June 6, 2024 03:35
@jgwest jgwest changed the title Run the E2E tests that work for both cluster-scoped and namespace-mode, on both Run the E2E tests that work for both cluster-scoped and namespace-scope modes, on both Jun 13, 2024
if [ "$NAMESPACE_SCOPED_ARGO_ROLLOUTS" == "true" ]; then

go test -v -p=1 -timeout=30m -race -count=1 -coverprofile=coverage.out ./tests/e2e/. ./tests/e2e/namespace-scoped
go test -v -p=1 -timeout=30m -race -count=1 -coverprofile=coverage.out ./tests/e2e/namespace-scoped
Copy link
Member Author

@jgwest jgwest Jun 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed ./tests because that logic is now invoked directly from the namespace/cluster-scoped tests

@Rizwana777
Copy link
Collaborator

LGTM

Copy link
Collaborator

@chetan-rns chetan-rns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jgwest
Copy link
Member Author

jgwest commented Jun 14, 2024

Thanks @chetan-rns and @Rizwana777!

@jgwest jgwest merged commit 3c085b1 into argoproj-labs:main Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants