-
Notifications
You must be signed in to change notification settings - Fork 3.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
[WIP] running replacement CI for #62435 #63033
Conversation
d7347e8
to
239fc27
Compare
pkg/cli/demo_test.go
Outdated
maxRoundTripLatency = d | ||
} | ||
} | ||
defer time.Sleep(maxRoundTripLatency) |
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.
haha if this is it...
i had a commit that waited for 60secs earlier for leaktest and i thought i saw the same error o_o
f61df69
to
066defc
Compare
@otan this passes CI now with no changes to the code. I think #63853 did the trick, and we were observing golang/go#45076 before. I'll rebase this and clean it up, then you can pick it up in #62435. |
We previously had no tests simulating the latency in demo using the --global flag. Release note: None
In addition to the release note, reworded the add node (which already errored beforehand), and adding a clause in RestartNode. Note there is no code path that allows a restart, since shutdown is required before a node restart. Release note (cli change): Previously, `\demo shutdown <node_idx>` would error if `--global` was set. This will now error gracefully as an unsupported behavior.
Release note (cli change): The --global flag for cockroach demo is now advertised. This flag simulates latencies in multi-node demo clusters when the nodes are set in different regions to simulate real-life global latencies.
The commits in this PR are meant to replace those in #62435.