Skip to content

Commit

Permalink
Changing check in e2e test to a substring check (#159)
Browse files Browse the repository at this point in the history
* Changing check in e2e test to a substring check

* Fix
  • Loading branch information
Andrew Suderman authored Apr 20, 2020
1 parent c018ddc commit bf6b625
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ repos:
- id: check-yaml
args: ['--allow-multiple-documents']
- id: check-json
- id: detect-aws-credentials
- id: detect-private-key
- id: trailing-whitespace
- id: check-added-large-files
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/10_basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ testcases:
assertions:
- result.code ShouldEqual 0
- result.systemout ShouldEqual ""
- result.systemerr ShouldEqual "No resources found."
- result.systemerr ShouldContainSubstring "No resources found"
- name: VPA in demo namespace
steps:
- script: kubectl label ns demo goldilocks.fairwinds.com/enabled=true --overwrite
Expand Down

0 comments on commit bf6b625

Please sign in to comment.