-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
kvserver: deflake all tests that restart test cluster servers #106145
Commits on Jul 12, 2023
-
testutils: move ListenerRegistry to leaf package
We'll want to access it from `base`, which can't import `testutils` due to dependency cycles.
Configuration menu - View commit details
-
Copy full SHA for 5f4496b - Browse repository at this point
Copy the full SHA 5f4496bView commit details -
listenerutil: export ReusableListener
We'll type assert on it in future commits.
Configuration menu - View commit details
-
Copy full SHA for 70dce12 - Browse repository at this point
Copy the full SHA 70dce12View commit details -
Future commits will change the receiver to ReusableListener.
Configuration menu - View commit details
-
Copy full SHA for d1c7fcd - Browse repository at this point
Copy the full SHA d1c7fcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 788decf - Browse repository at this point
Copy the full SHA 788decfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98744d3 - Browse repository at this point
Copy the full SHA 98744d3View commit details -
listenerutil: add ListenerRegistry.MustGet
We'll clean up the possible confusion with `GetOrFail` (which will create the listener if not present) later.
Configuration menu - View commit details
-
Copy full SHA for d21226d - Browse repository at this point
Copy the full SHA d21226dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a54f4d - Browse repository at this point
Copy the full SHA 8a54f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9332af7 - Browse repository at this point
Copy the full SHA 9332af7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2e4b69 - Browse repository at this point
Copy the full SHA c2e4b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 759e606 - Browse repository at this point
Copy the full SHA 759e606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5320237 - Browse repository at this point
Copy the full SHA 5320237View commit details -
testcluster: introduce ReusableListenerReg
This will replace the ReusableListeners flag and simplify all tests using it. It's not used as of this commit, and all the tests using the soon-to-be-legacy approach still pass.
Configuration menu - View commit details
-
Copy full SHA for 36d18da - Browse repository at this point
Copy the full SHA 36d18daView commit details -
*: adopt reusable listeners in all tests that restart
They didn't do this before, and as a result were susceptible to flakes. They were discovered through the checks introduced in follow-up commits. It will be impossible to hold it wrong.
Configuration menu - View commit details
-
Copy full SHA for a732de0 - Browse repository at this point
Copy the full SHA a732de0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27af371 - Browse repository at this point
Copy the full SHA 27af371View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e8a998 - Browse repository at this point
Copy the full SHA 4e8a998View commit details