-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: speed & other minor improvements (#565)
* refactor: wasm plugin tests use spec context * refactor: envoy filter tests use spec context * refactor: rlp tests use spec context * refactor: kuadrant tests use spec context * refactor: auth policy tests use spec context * refactor: status tests use spec context * refactor: tests setup/delete toystore app once * refactor: remove node timeouts * refactor: remove eventually for deleting limitador deployment * refactor: add timeouts for cleanups * refactor: remove deploying toystore app in tests * test: add debug lines to flaky test * refactor: pass context to rlp test helper functions * fix: remove some testRLPIsEnforced * refactor: single kuadrant install in before/after suite * fix: wrap updates in wasm controller test in Eventually * refactor: move single kuadrant to BeforeAll/AfterAll instead * refactor: remove building docker image as part of test workflow building docker image as part of test workflow in unnecessary as the image in never deployed and the reconcilers are started as part of the test suite * refactor: return created ns string rather than use pointer * refactor: single eventually assert for policy accepted and enforced status
- Loading branch information
Showing
13 changed files
with
1,085 additions
and
1,066 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,6 @@ on: | |
schedule: | ||
- cron: "15 1 * * *" | ||
|
||
env: | ||
TEST_IMG: quay.io/kuadrant/kuadrant-operator:${{ github.sha }} | ||
|
||
jobs: | ||
unit-tests: | ||
name: Unit Tests | ||
|
@@ -72,9 +69,6 @@ jobs: | |
id: go | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Run make docker-build | ||
run: | | ||
make docker-build IMG=${{ env.TEST_IMG }} | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
with: | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.