Skip to content

Commit

Permalink
Convert drift e2e tests into integration tests (#2861)
Browse files Browse the repository at this point in the history
* Simplify drift correction integration tests

This removes checks on bundle statuses, which are unrelated to drift
correction and already covered in status tests
(`integrationtests/agent/bundle_deployment_status_test.go`).

* Migrate drift correction end-to-end tests

This migrates end-to-end test cases for drift correction to
integration tests, simplifying them and reducing the risk of flakiness.

* Rename `createBundle` as `createBundleDeployment`

That bundle reconciler method creates bundle deployments, not bundles.

* Convert bundle deletion e2e test into integration test

That end-to-end test case was flaky, and could easily be migrated to
integration tests.
  • Loading branch information
weyfonk authored Sep 20, 2024
1 parent bcc98e9 commit 70b5adf
Show file tree
Hide file tree
Showing 11 changed files with 339 additions and 438 deletions.
10 changes: 0 additions & 10 deletions e2e/assets/drift/correction-disabled/gitrepo.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions e2e/assets/drift/correction-enabled/gitrepo.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/assets/drift/force/gitrepo.yaml

This file was deleted.

284 changes: 0 additions & 284 deletions e2e/drift/drift_test.go

This file was deleted.

27 changes: 0 additions & 27 deletions e2e/drift/suite_test.go

This file was deleted.

Loading

0 comments on commit 70b5adf

Please sign in to comment.