Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor e2e test setup #264

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
adc9669
Refactor e2e test setup
rhmdnd Mar 20, 2023
31538f0
Add parallel test module
rhmdnd Mar 24, 2023
dea1379
Remove dead code from e2e refactor
rhmdnd Mar 24, 2023
e193df0
Port TestInvalidBundleWithUnexistentRef to parallel tests
rhmdnd Mar 25, 2023
a2fa7b8
Port TestInvalidBundleWithNoTag to parallel tests
rhmdnd Mar 25, 2023
6fdc3f3
Port TestParsingErrorRestartsParserInitContainer to parallel tests
rhmdnd Mar 25, 2023
5849c68
Port TestRulesAreClassifiedAppropriately to parallel test module
rhmdnd Mar 27, 2023
00f91c4
Port TestSingleScanSucceeds to parallel test module
rhmdnd Mar 27, 2023
a404552
Port TestScanProducesRemediations to parallel test module
rhmdnd Mar 28, 2023
78b3a73
Port TestSingleScanWithStorageSucceeds to parallel tests
rhmdnd Mar 28, 2023
419997e
Port TestScanWithUnexistentResourceFails to parallel test module
rhmdnd Mar 28, 2023
31aa738
Port TestScanStorageOutOfLimitRangeFails to parallel test module
rhmdnd Mar 28, 2023
5db30ae
Port TestSingleTailoredScanSucceeds to parallel test module
rhmdnd Mar 28, 2023
9147a45
Port TestSingleTailoredPlatformScanSucceeds to parallel test module
rhmdnd Mar 28, 2023
9c45a2b
Port TestScanWithNodeSelectorFiltersCorrectly to parallel test module
rhmdnd Mar 28, 2023
752b2b2
Port TestScanWithNodeSelectorNoMatches to parallel test module
rhmdnd Mar 28, 2023
6393fee
Port TestScanWithInvalidScanTypeFails to parallel test module
rhmdnd Mar 28, 2023
f024ba2
Port TestScanWithInvalidContentFails to parallel test module
rhmdnd Mar 28, 2023
5af0571
Port TestScanWithInvalidProfileFails to parallel test module
rhmdnd Mar 28, 2023
eed6a45
Port TestMalformedTailoredScanFails to parallel test module
rhmdnd Mar 28, 2023
b282e8a
Port TestScanWithEmptyTailoringCMNameFails to parallel test module
rhmdnd Mar 28, 2023
ebb1cf1
Port TestScanWithMissingTailoringCMFailsAndRecovers to parallel test …
rhmdnd Mar 28, 2023
8ea874a
Port TestMissingPodInRunningState to parallel test module
rhmdnd Mar 28, 2023
5f44887
Port TestApplyGenericRemediation to parallel test module
rhmdnd Mar 28, 2023
e682288
Port TestPatchGenericRemediation to parallel test module
rhmdnd Mar 28, 2023
e728b64
Port TestGenericRemediationFailsWithUnkownType to parallel test module
rhmdnd Mar 28, 2023
93d28fa
Port TestSuiteWithInvalidScheduleShowsError to parallel test module
rhmdnd Mar 28, 2023
db5aa70
Port TestScheduledSuite to parallel test module
rhmdnd Mar 28, 2023
5c688b7
Port TestScheduledSuitePriorityClass to parallel test module
rhmdnd Mar 28, 2023
5d78ea5
Port TestScheduledSuiteInvalidPriorityClass to parallel test module
rhmdnd Mar 28, 2023
354b3a9
Port TestScheduledSuiteUpdate to parallel test module
rhmdnd Mar 28, 2023
35f75c5
Port TestSuiteWithContentThatDoesNotMatch to parallel test module
rhmdnd Mar 28, 2023
0c9e3d0
Port TestScanSettingBinding to parallel test module
rhmdnd Mar 28, 2023
33d2888
Port TestScanSettingBindingTailoringAndNonDefaultRole to parallel tes…
rhmdnd Mar 28, 2023
fc8ca45
Port TestScanSettingBindingUsesDefaultScanSetting to parallel test mo…
rhmdnd Mar 28, 2023
126b8d3
Port TestScanSettingBindingWatchesTailoredProfile to parallel test mo…
rhmdnd Mar 28, 2023
75e8a15
Port TestManualRulesTailoredProfile to parallel test module
rhmdnd Mar 28, 2023
ac3968c
Port TestCheckDefaultKubeletConfig to parallel test module
rhmdnd Mar 28, 2023
2374f73
Port TestHideRule to parallel test module
rhmdnd Mar 28, 2023
ffd0ecd
Port TestScheduledSuiteTimeoutFail to parallel test module
rhmdnd Mar 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ e2e: e2e-set-image prep-e2e ## Run full end-to-end tests that exercise content o
@CONTENT_IMAGE=$(E2E_CONTENT_IMAGE_PATH) BROKEN_CONTENT_IMAGE=$(E2E_BROKEN_CONTENT_IMAGE_PATH) $(GO) test ./tests/e2e $(E2E_GO_TEST_FLAGS) -args $(E2E_ARGS) | tee tests/e2e-test.log

.PHONY: e2e-parallel
e2e-parallel: ## Run non-destructive end-to-end tests concurrently.
E2E_TEST_TYPE=parallel $(MAKE) e2e
e2e-parallel: e2e-set-image prep-e2e ## Run non-destructive end-to-end tests concurrently.
@CONTENT_IMAGE=$(E2E_CONTENT_IMAGE_PATH) BROKEN_CONTENT_IMAGE=$(E2E_BROKEN_CONTENT_IMAGE_PATH) $(GO) test ./tests/e2e/parallel $(E2E_GO_TEST_FLAGS) -args $(E2E_ARGS) | tee tests/e2e-test.log

.PHONY: e2e-serial
e2e-serial: ## Run destructive end-to-end tests serially.
Expand Down
Loading