-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
airbyte-ci: run incremental acceptance tests step for community conne…
…ctors� (#39363) ## What When a connector under test is a community connector we want to fail acceptance tests only if the current branch is adding new test failures compared to CAT results in the released image. ## How * Introduce a `IncrementalAcceptanceTests` step which runs after `AcceptanceTests` * It runs `AcceptanceTests` on the released image of the connector. * It compares the test reports from the released version vs. the current branch version and fails if new failing tests are detected. ## Some words about the "cost" of running acceptance tests twice Acceptance tests will run on the connector container of the branch and on a container build from the latest released image. You can consider acceptance tests is run twice and this is costly, but: * Subsequent runs of acceptance tests on the released image will be cached by Dagger, it should lead to 1 run of CAT on released image per PRs. * It's a good way to make sure we're comparing apple to apples: instead of pulling a previously generated test report on a potentially different version of CAT we use the exact same test suite on both versions. * This `IncrementalAcceptanceTests` only runs for community connectors, it is skipped for certified ones, so it's not adding an overhead for Airbyters maintaining certified connecors. * It's a good way to run "just in time" tests instead of scheduling costly nightly / weekly builds on all community connectors on `master`.
- Loading branch information
1 parent
1900f07
commit 8fd3a3c
Showing
4 changed files
with
106 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters