Skip to content

Commit 01e304d

Browse files
authored
Merge pull request #153575 from tbg/blathers/backport-release-25.2-153553
2 parents 498960b + ade7b3a commit 01e304d

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
@@ -385,8 +385,10 @@ func runGossipRestartNodeOne(ctx context.Context, t test.Test, c cluster.Cluster
385385
// Reduce the scan max idle time to speed up evacuation of node 1.
386386
settings := install.MakeClusterSettings(install.NumRacksOption(c.Spec().NodeCount))
387387
settings.Env = append(settings.Env, "COCKROACH_SCAN_MAX_IDLE_TIME=5ms")
388+
startOpts := option.DefaultStartOpts()
389+
startOpts.RoachprodOpts.ExtraArgs = []string{"--vmodule=*=1"} // see #153441
388390

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

391393
db := c.Conn(ctx, t.L(), 1)
392394
defer db.Close()
@@ -540,7 +542,8 @@ SELECT count(replicas)
540542
c.Stop(ctx, t.L(), option.DefaultStopOpts(), c.Node(1))
541543
// N.B. Since n1 was initially stripped of all the replicas, we must wait for full replication. Otherwise, the
542544
// replica consistency checks may time out.
543-
c.Start(ctx, t.L(), option.NewStartOpts(option.WaitForReplication()), install.MakeClusterSettings(), c.Node(1))
545+
startOpts.WaitForReplicationFactor = 3
546+
c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(), c.Node(1))
544547
}
545548

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

0 commit comments

Comments
 (0)