Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan committed Feb 18, 2024
1 parent 2e3c3ee commit 434e397
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,18 @@ jobs:
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1

# - name: Run Tests
# uses: BerniWittmann/background-server-action@v1
# with:
# start: |
# make deploy
# wait-on: 'http://localhost:8081/readyz'
# wait-on-timeout: 120s
# command: set -e cd ./tests && chainsaw test

- name: Deploy Nimbus
run: make deploy

- name: Run Tests
uses: BerniWittmann/background-server-action@v1
with:
start: |
make install
make run
wait-on: 'http://localhost:8081/readyz'
wait-on-timeout: 120s
command: set -e cd ./tests && chainsaw test
run: chainsaw test

2 changes: 1 addition & 1 deletion tests/controllers/np-creation/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
steps:
- try:
# first operation: create the config map
- create:
- apply:
# file is relative to the test folder
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
# second operation: verify the config map exists and contains the expected data
Expand Down
2 changes: 1 addition & 1 deletion tests/controllers/np-updation/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:

- name: step-01
try:
- create:
- apply:
# file is relative to the test folder
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
- assert:
Expand Down
2 changes: 1 addition & 1 deletion tests/controllers/sib-deletion/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:

- name: step-01
try:
- create:
- apply:
# file is relative to the test folder
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
- assert:
Expand Down
2 changes: 1 addition & 1 deletion tests/controllers/sib-updation/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:

- name: step-01
try:
- create:
- apply:
# file is relative to the test folder
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
- assert:
Expand Down

0 comments on commit 434e397

Please sign in to comment.