-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix integration tests #1853
Merged
Fix integration tests #1853
Changes from 80 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
87f7316
Run integration tests with unstable commands turned on
Naatan ad95e96
Fix branch switching test
Naatan 3a0ec85
Fix package search test
Naatan 77cdbd0
Fix bundle search test
Naatan 63069a8
Fix config test
Naatan f0da54e
Disable impossible test
Naatan 77633b4
Don't test values that are bound to change
Naatan 2e6a34b
Attempt to supply FULL snapshot
Naatan 76d976f
Fix single tag having trailing colon
Naatan 1a4dfa5
Fix editor v0 error not printing
Naatan f59bc2b
Fix expectation
Naatan b63a83b
Update expectation
Naatan 94bce77
Make assertion less specific
Naatan 97bdb4d
Remove redundant assertion
Naatan 6abfd52
Address prompt
Naatan ecf8d11
Update assertion
Naatan f3ad8b1
Remove overly specific assertions
Naatan 261a744
Fix false negative
Naatan 9c56b48
Fix unstable warnings in json output
Naatan d74d3fc
Remove overly specific assertion
Naatan 8cf8ac6
Update assertion
Naatan 7f13afc
Attempt to fix s3 error
Naatan 716bf15
Update assertion
Naatan 8d84ea4
Update assertion
Naatan d73a189
Update assertion
Naatan 2223ec7
Use package that won't fail
Naatan 83daf46
Don't fetch project ID if no namespace was given
Naatan e9ff249
Give plenty of time
Naatan ba38eae
Attempt to fix path missmatch
Naatan ce9a27f
Drop MSI tests
Naatan c7ed63e
Remove overly specific test that's testing the wrong thing (it's a ca…
Naatan 6d3d768
Update assertions
Naatan 79b65e4
Debug performance
Naatan 4ed6892
Only assert unique path component rather than whole path
Naatan 00c318c
Fix package name
Naatan 5562e47
Give plenty of time
Naatan ba03e3a
Assert path component instead
Naatan 7b45f28
Don't run bash test on windows
Naatan f7f9e48
Update assertion
Naatan 7e7ed87
Ensure we install to right dir
Naatan ec99156
Debug performance
Naatan 902acd8
Performance test improvements
Naatan fa5e809
Update assertion
Naatan 90c8423
Improve performance by not checking for deprecation on startup or upd…
Naatan a98046c
Test without overhead
Naatan 1203a90
Increase performance max time
Naatan 4a964be
Fix upgen test
Naatan d9120e4
Make poller test more robust
Naatan 1109995
Cleanup
Naatan 9b7990f
Debug failure
Naatan 607cf41
Only shut down svc at end of suite
Naatan 2302a9e
Attempt to fix job running forever
Naatan d9c34d1
Fix path assertion
Naatan 65691f9
Fix nil pointer panic
Naatan b1b8869
Fix logging of test failure
Naatan 5cb4ffa
Use different pkg
Naatan 306cd9d
Make poller test less opinionated while still asserting success
Naatan d0a3ade
Update assertion
Naatan 38e6714
Reduce timeout for integration tests
Naatan 97cc10c
Debug update performance test
Naatan 1c8555e
Fix CI authentication for user cleanup
Naatan 5dd1458
Let the solver sort it out
Naatan 24293b6
Disable test for now
Naatan d3c9a0c
Don't run with verbose
Naatan c4b1afa
Avoid mixing exit codes
Naatan 5bc6cfc
Disable debug logging
Naatan 591f66e
Ensure config is closed
Naatan e6d0bd2
Ensure svc has time to collect update info
Naatan 14c712e
Retry on EOF
Naatan db8b5fb
Debug
Naatan 507e7e6
Add debugging info to testfmt
Naatan 8a70e8d
Ensure expectation times out
Naatan d9f541b
Debug hanging threads
Naatan ae161d3
Merge branch 'master' into DX-925
Naatan 5498ba7
Enable debug logging again
Naatan 39402d8
Revert "Debug hanging threads"
Naatan d33ebb3
Add space
Naatan b9354ad
Account for race condition
Naatan c7e8682
Debug log performance test for future failures
Naatan cf40c58
Fix test
Naatan d61147c
Merge branch 'master' into DX-925
Naatan File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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
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
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
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
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.
This won't panic if the value from
ValueFromCache()
is nil right? I'm pretty sure it won't. Might be something nice to confirm in the unit test for thepoller
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 can't confirm it in the poller, because the value type is an interface and we can't reliably assert nil unless we know the type.
We're not doing anything with the returned value here, other than also return it. And as per the contract of the function it CAN return a nil, which isn't a new change.