Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Fix e2e tests (#121)
Browse files Browse the repository at this point in the history
* Fix wrong expected results in e2e test

* Fail test_e2e.sh when tests fail
  • Loading branch information
maxbischoff authored Aug 20, 2020
1 parent 236e740 commit e1c0b05
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
16 changes: 14 additions & 2 deletions e2e-manifests/expected/labels-with-all-legal-characters.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
01-deny-all-traffic-to-an-application:app=web:
01-deny-all-traffic-to-an-application:app=web:
illuminatio-inverted-labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
-*:
success: true
labels-with-all-legal-characters:illuminatio-inverted-test.io/test-123_XYZ=test_456-123.ABC:
labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
-*:
success: true
illuminatio-inverted-labels-with-all-legal-characters:illuminatio-inverted-test.io/test-123_XYZ=test_456-123.ABC:
labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
-*:
success: true
labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
labels-with-all-legal-characters:test.io/test-123_XYZ=test_456-123.ABC:
"*":
success: true
5 changes: 1 addition & 4 deletions local_dev/run_e2e_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ then
sudo docker pull "${ILLUMINATIO_IMAGE}"
fi

if ! coverage run setup.py test --addopts="-m e2e";
then
kubectl -n illuminatio get po -o yaml
fi
coverage run setup.py test --addopts="-m e2e"

0 comments on commit e1c0b05

Please sign in to comment.