This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Conversation
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
2bda482
to
ac1c23d
Compare
ac1c23d
to
0138fbc
Compare
I don't see in your test code where you set the logging level to verbose? I only see you looking for a log message saying it's in debug mode. |
In TestApply, you should find this:
|
64b57e9
to
e797a03
Compare
jrryjcksn
approved these changes
May 5, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM \o/
e797a03
to
4c49f09
Compare
4c49f09
to
9ce4112
Compare
palemtnrider
approved these changes
May 5, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that we are now checking both verbose and not.
44100b5
to
c803fee
Compare
dc57614
to
8919b49
Compare
D3nn
added a commit
that referenced
this pull request
May 8, 2020
* test for debug log level * make verbose setting configurable in test * test for debug log level * make verbose setting configurable in test * updates to verbose logging testcase * test for debug log level * make verbose setting configurable in test * test for debug log level * make verbose setting configurable in test * updates to verbose logging testcase * check verbose from json output * add logging debug statement * fixes for TestApply * print run object in test for debugging * Old version of kubectl doesn't support -A * test fixes to work with outdated kubectl * Wait for all output to complete in test executor * select specific output from kubectl command looking for "--verbose" * switch to standard exec.Cmd * small fix * fix missing imports that "make lint" did not catch * debug logging for pods * debug * debug * switch to default namespace in test because that's how the cluster is created Co-authored-by: Mark Emeis <mark.emeis@weave.works> Co-authored-by: Jerry Jackson <jerry@weave.works>
D3nn
added a commit
that referenced
this pull request
May 20, 2020
* test for debug log level * make verbose setting configurable in test * test for debug log level * make verbose setting configurable in test * updates to verbose logging testcase * test for debug log level * make verbose setting configurable in test * test for debug log level * make verbose setting configurable in test * updates to verbose logging testcase * check verbose from json output * add logging debug statement * fixes for TestApply * print run object in test for debugging * Old version of kubectl doesn't support -A * test fixes to work with outdated kubectl * Wait for all output to complete in test executor * select specific output from kubectl command looking for "--verbose" * switch to standard exec.Cmd * small fix * fix missing imports that "make lint" did not catch * debug logging for pods * debug * debug * switch to default namespace in test because that's how the cluster is created Co-authored-by: Mark Emeis <mark.emeis@weave.works> Co-authored-by: Jerry Jackson <jerry@weave.works>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--verbose
flag should set log level to debug on wks-controllerkubectl logs wks-controller