@@ -385,8 +385,10 @@ func runGossipRestartNodeOne(ctx context.Context, t test.Test, c cluster.Cluster
385
385
// Reduce the scan max idle time to speed up evacuation of node 1.
386
386
settings := install .MakeClusterSettings (install .NumRacksOption (c .Spec ().NodeCount ))
387
387
settings .Env = append (settings .Env , "COCKROACH_SCAN_MAX_IDLE_TIME=5ms" )
388
+ startOpts := option .DefaultStartOpts ()
389
+ startOpts .RoachprodOpts .ExtraArgs = []string {"--vmodule=*=1" } // see #153441
388
390
389
- c .Start (ctx , t .L (), option . DefaultStartOpts () , settings )
391
+ c .Start (ctx , t .L (), startOpts , settings )
390
392
391
393
db := c .Conn (ctx , t .L (), 1 )
392
394
defer db .Close ()
@@ -540,7 +542,8 @@ SELECT count(replicas)
540
542
c .Stop (ctx , t .L (), option .DefaultStopOpts (), c .Node (1 ))
541
543
// N.B. Since n1 was initially stripped of all the replicas, we must wait for full replication. Otherwise, the
542
544
// 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 ))
544
547
}
545
548
546
549
func runCheckLocalityIPAddress (ctx context.Context , t test.Test , c cluster.Cluster ) {
0 commit comments