Skip to content

Commit

Permalink
kvserver: replace multiTestContext with TestCluster/TestServer in nod…
Browse files Browse the repository at this point in the history
…e_liveness_test

Makes progress on #8299

multiTestContext is a legacy construct that is deprecated in favor of running
tests via TestCluster. This is one PR out of many to remove the usage of
multiTestContext in the node_liveness_test test cases.

Release note: None
  • Loading branch information
lunevalex committed Jan 22, 2021
1 parent 4377051 commit 0b01151
Show file tree
Hide file tree
Showing 3 changed files with 478 additions and 269 deletions.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/client_raft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4032,7 +4032,7 @@ func TestRangeQuiescence(t *testing.T) {
})
defer tc.Stopper().Stop(ctx)

pauseNodeLivenessHeartbeatLoopsTC(tc)
pauseNodeLivenessHeartbeatLoops(tc)
key := tc.ScratchRange(t)
tc.AddVotersOrFatal(t, key, tc.Targets(1, 2)...)

Expand Down
Loading

0 comments on commit 0b01151

Please sign in to comment.