@@ -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
548551func runCheckLocalityIPAddress (ctx context.Context , t test.Test , c cluster.Cluster ) {
0 commit comments