Skip to content

Commit d9689d0

Browse files
committed
roachtest: add verbose logging in acceptance/gossip/restart
Touches #151022.
1 parent 3a65ddf commit d9689d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkg/cmd/roachtest/tests/gossip.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ func runGossipPeerings(ctx context.Context, t test.Test, c cluster.Cluster) {
357357
}
358358

359359
func runGossipRestart(ctx context.Context, t test.Test, c cluster.Cluster) {
360-
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings())
360+
opts := option.DefaultStartOpts()
361+
opts.RoachprodOpts.ExtraArgs = []string{"--vmodule=settings_watcher=1,watcher=1"}
362+
c.Start(ctx, t.L(), opts, install.MakeClusterSettings())
361363

362364
// Repeatedly stop and restart a cluster and verify that we can perform basic
363365
// operations. This is stressing the gossiping of the first range descriptor
@@ -377,7 +379,7 @@ func runGossipRestart(ctx context.Context, t test.Test, c cluster.Cluster) {
377379
t.L().Printf("%d: restarting all nodes\n", i)
378380
// Tell the httpClient our saved session cookies are no longer valid after a restart.
379381
g.httpClient.ResetSession()
380-
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings())
382+
c.Start(ctx, t.L(), opts, install.MakeClusterSettings())
381383
}
382384
}
383385

0 commit comments

Comments
 (0)