Skip to content

Commit

Permalink
roachtest: add back backups to disk-stalled tests
Browse files Browse the repository at this point in the history
Backups were inadvertently disabled in cockroachdb#99747 (to simplify testing). As
there is no good reason to run without them, re-enable the backups
during the test.

Release note: None.
  • Loading branch information
nicktrav committed Mar 28, 2023
1 parent f9a99a9 commit a04827c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/disk_stall.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func registerDiskStalledDetection(r registry.Registry) {
func runDiskStalledDetection(
ctx context.Context, t test.Test, c cluster.Cluster, s diskStaller, doStall bool,
) {
startOpts := option.DefaultStartOptsNoBackups()
startOpts := option.DefaultStartOpts()
startOpts.RoachprodOpts.ExtraArgs = []string{
"--store", s.DataDir(),
"--log", fmt.Sprintf(`{sinks: {stderr: {filter: INFO}}, file-defaults: {dir: "%s"}}`, s.LogDir()),
Expand Down

0 comments on commit a04827c

Please sign in to comment.