Skip to content

Commit c40a33b

Browse files
committed
roachtest: bump vmodule in gossip/restart-node-one
See #153441. Epic: none
1 parent c2c042f commit c40a33b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkg/cmd/roachtest/tests/gossip.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,10 @@ func runGossipRestartNodeOne(ctx context.Context, t test.Test, c cluster.Cluster
387387
// Reduce the scan max idle time to speed up evacuation of node 1.
388388
settings := install.MakeClusterSettings(install.NumRacksOption(c.Spec().NodeCount))
389389
settings.Env = append(settings.Env, "COCKROACH_SCAN_MAX_IDLE_TIME=5ms")
390+
startOpts := option.DefaultStartOpts()
391+
startOpts.RoachprodOpts.ExtraArgs = []string{"--vmodule=*=1"} // see #153441
390392

391-
c.Start(ctx, t.L(), option.DefaultStartOpts(), settings)
393+
c.Start(ctx, t.L(), startOpts, settings)
392394

393395
db := c.Conn(ctx, t.L(), 1)
394396
defer db.Close()
@@ -542,7 +544,8 @@ SELECT count(replicas)
542544
c.Stop(ctx, t.L(), option.DefaultStopOpts(), c.Node(1))
543545
// N.B. Since n1 was initially stripped of all the replicas, we must wait for full replication. Otherwise, the
544546
// replica consistency checks may time out.
545-
c.Start(ctx, t.L(), option.NewStartOpts(option.WaitForReplication()), install.MakeClusterSettings(), c.Node(1))
547+
startOpts.WaitForReplicationFactor = 3
548+
c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(), c.Node(1))
546549
}
547550

548551
func runCheckLocalityIPAddress(ctx context.Context, t test.Test, c cluster.Cluster) {

0 commit comments

Comments
 (0)