-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(auth): flaky credentials cache test #5979
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c622306
isolate test
Hweinstock fc8a1c6
add exception for eslint
Hweinstock 0f92bfe
implement waitUntil on windows
Hweinstock c29a589
bake timeout into the fs module
Hweinstock b2a4734
add errors if waitUntil fails
Hweinstock f4e2736
undo fs changes
Hweinstock 1860d22
add console.log statements
Hweinstock 176ae5f
track code path
Hweinstock 2be7f2f
add more logging
Hweinstock f2c17b8
check if cache is being returned
Hweinstock 75b77f5
add more logging
Hweinstock 5e316a1
reduce repeat
Hweinstock ce85893
add one more logging statement
Hweinstock f805cb8
rebump to 1000
Hweinstock 2bddbfe
change logging statements
Hweinstock cb1c3b6
add more debugging
Hweinstock 2cfe87e
another log
Hweinstock 3c43115
add more logging
Hweinstock fa8c103
add more logging
Hweinstock e0eae0c
try adding a waitUntil to check if file content updated
Hweinstock a42f264
implement a retry mechanism
Hweinstock 9b167ac
adjust logging, set timeout manually
Hweinstock 5db69dc
avoid retry as it causes hang
Hweinstock 143fa34
add logging to refresh logic
Hweinstock e65fe50
adjust test and its logging
Hweinstock 46ac152
remove all logging
Hweinstock 1161e54
add waitUntil for stat changes
Hweinstock a5225f9
try a long interval
Hweinstock 354164a
wrap entire check in a waitUntil
Hweinstock 10051bc
simplify test code
Hweinstock 0ca8943
add back test isolation
Hweinstock 9291ebb
add check for mtime
Hweinstock 8c31442
add logging statements
Hweinstock c284254
adjust logging and timeout
Hweinstock 53fc20e
adjust logging
Hweinstock fbb215d
rerun test a bunch
Hweinstock 9dff77c
add really explicit logging statements
Hweinstock d7499fd
reformat logs
Hweinstock ce87909
try sleeping in between regen
Hweinstock 3cbf39a
remove logging
Hweinstock 87fbc01
focus on individual test
Hweinstock 92c8138
adapt other test
Hweinstock dc8a7de
change test wording
Hweinstock 29b31a2
remove loop on test
Hweinstock File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
Can't remember if this was discussed already: maybe the delete/modification in the test happened too quickly, so the mtime didn't actually change on the re-created file?
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.
Thats what I suspect as well. When I added a
sleep
in-between the two, the test appeared to pass.