integration/system: TestInfoAPIWarnings: improve test, and t.Parallel#46395
Draft
thaJeztah wants to merge 1 commit intomoby:masterfrom
Draft
integration/system: TestInfoAPIWarnings: improve test, and t.Parallel#46395thaJeztah wants to merge 1 commit intomoby:masterfrom
thaJeztah wants to merge 1 commit intomoby:masterfrom
Conversation
thaJeztah
commented
Sep 4, 2023
Member
Author
|
Interesting; Also wondering why I see the |
Member
Author
|
Ah, right, so Windows won't have SecurityOptions by default, so need to update the test for that; |
99ebc5f to
2af715e
Compare
Member
Author
This turned out to be because the test was doing too much, and manually adding the moby/testutil/daemon/daemon.go Lines 469 to 471 in 9c4e824 |
848a306 to
cfe811a
Compare
cfe811a to
1f5a3e6
Compare
1f5a3e6 to
9462c5f
Compare
Member
Author
|
moving this one back to draft; I need to look at the second commit.
|
Member
Author
|
Member
Author
Details |
9462c5f to
7b6b110
Compare
7b6b110 to
0d0076e
Compare
This test takes at least 15 seconds to run, because loadListeners imposes a 15-second delay for insecure listeners. Rewrite the test to run with t.Parallel, use a test-table, and add additional test-cases to verify both cases where the warning should be returned, and should _not_ be returned. Signed-off-by: Sebastiaan van Stijn <[email protected]>
0d0076e to
0952385
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
integration/system: TestInfoAPIWarnings: improve test, and t.Parallel
This test takes at least 15 seconds to run, because loadListeners imposes
a 15-second delay for insecure listeners. Rewrite the test to run with
t.Parallel, use a test-table, and add additional test-cases to verify both
cases where the warning should be returned, and should not be returned.
- A picture of a cute animal (not mandatory but encouraged)