Skip to content

Commit

Permalink
roachtest: enable raft tracing for perturbation/* tests
Browse files Browse the repository at this point in the history
Since raft tracing is not enabled by default, the perturbation tests
enable it. This can be removed if we later make raft tracing enabled.

Epic: none

Release note: None
  • Loading branch information
andrewbaptist committed Oct 18, 2024
1 parent a58e2a9 commit fe746c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/cmd/roachtest/tests/admission_control_latency.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,11 @@ func (v variations) runTest(ctx context.Context, t test.Test, c cluster.Cluster)
`SET CLUSTER SETTING kv.lease.reject_on_leader_unknown.enabled = true`); err != nil {
t.Fatal(err)
}
// Enable raft tracing. Remove this once raft tracing is the default.
if _, err := db.ExecContext(ctx,
`SET CLUSTER SETTING kv.raft.max_concurrent_traces = '10'`); err != nil {
t.Fatal(err)
}
// This isn't strictly necessary, but it would be nice if this test passed at 10s (or lower).
if _, err := db.ExecContext(ctx,
`SET CLUSTER SETTING server.time_after_store_suspect = '10s'`); err != nil {
Expand Down

0 comments on commit fe746c7

Please sign in to comment.