Skip to content

Commit 897a4bf

Browse files
committed
run adoption loop every 5s to simulate more chaos
1 parent 3006d24 commit 897a4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/tests/jobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func runJobsStress(ctx context.Context, t test.Test, c cluster.Cluster) {
7676
// Because this roachtest spins up and pauses/cancels 5k changefeed jobs
7777
// really quickly, run the adopt interval which by default only runs every 30s
7878
// and adopts 10 jobs at a time.
79-
sqlDB.Exec(t, "SET CLUSTER SETTING jobs.registry.interval.adopt='15s'")
79+
sqlDB.Exec(t, "SET CLUSTER SETTING jobs.registry.interval.adopt='5s'")
8080

8181
rng, seed := randutil.NewLockedPseudoRand()
8282
t.L().Printf("Rand seed: %d", seed)

0 commit comments

Comments
 (0)