Skip to content

Commit 10b2b92

Browse files
committed
Convert drift e2e tests into integration tests (#2861)
* 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.
1 parent cefd133 commit 10b2b92

File tree

11 files changed

+339
-438
lines changed

11 files changed

+339
-438
lines changed

e2e/assets/drift/correction-disabled/gitrepo.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

e2e/assets/drift/correction-enabled/gitrepo.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

e2e/assets/drift/force/gitrepo.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

e2e/drift/drift_test.go

Lines changed: 0 additions & 284 deletions
This file was deleted.

e2e/drift/suite_test.go

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)