-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 infra: Remove timeSource() from the ClusterManager api #4247
Merged
htuch
merged 31 commits into
envoyproxy:master
from
jmarantz:remove-time-source-cluster-manager-api
Aug 28, 2018
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
da7f24a
Remove singletons for time-sources and inject them instead.
jmarantz 7d59de4
checkpoint with more stuff compiling, a few tests still fail due to c…
jmarantz 10422d4
checkpoinging: all of //test/common/... compiles, 4 tests still fail …
jmarantz 282307f
//test/common/... all pass.
jmarantz fa5c8c8
More of //test/... builds, some of it works.
jmarantz 8d67f55
All tests compiling and working.
jmarantz c9a7d62
More comments and TODOs.
jmarantz 2d9f2aa
Pass the TimeSource into the WorkerFactory's ctor rather than into Wo…
jmarantz 1a84061
Fix race found in coverage tests due to order of destruction. Uncomme…
jmarantz eb2347e
Don't bother using a whole TimeSource for TokenBucketImpl -- all it n…
jmarantz 21ac418
More API cleanups and TODOs.
jmarantz 0a2514c
Kick CI
jmarantz c642dbc
Merge branch 'master' into inject-time-source
jmarantz 646a500
formatting.
jmarantz e65a754
Add comment about preserving entropy in the future, when we move to m…
jmarantz 50dbb33
Merge branch 'master' into inject-time-source
jmarantz be44f2d
Address review comments.
jmarantz 1488d58
Kick CI
jmarantz 44d880d
Merge branch 'master' into inject-time-source
jmarantz 6d9fac6
Rename 'TestTime' to 'RealTestTime' and add TODO to change all tests …
jmarantz 944d75b
Don't copy TimeSource objects; it's easier to make them pure virtual …
jmarantz 28f41dd
Merge branch 'master' into inject-time-source
jmarantz b9a9cee
remove timeSource() as a cluster manager API (not compiling all tests…
jmarantz a285196
Resolve nits.
jmarantz 63fb553
Merge branch 'inject-time-source' into remove-time-source-cluster-man…
jmarantz 4f309ab
Got all tests passing.
jmarantz 7ea31e8
Merge branch 'master' into remove-time-source-cluster-manager-api
jmarantz 656d40c
Merge branch 'master' into remove-time-source-cluster-manager-api
jmarantz 200c70e
Merge branch 'master' into remove-time-source-cluster-manager-api
jmarantz 0a6c3b2
Address review comments.
jmarantz f3c825e
Kick CI
jmarantz 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
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
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.
... and I guess here as well.. neither of these are new to this PR, so I think it makes sense to merge and continue the discussion elsewhere.
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 is needed in source/common/router/router.cc:782, and there is no current 'friend' declaration, so I prefer to leave it as is; it's not clear why this exposes more than the shadowWriter accessor above.