Skip to content

Commit

Permalink
roachtest: create new import/tpcc/warehouses=4000/geo test
Browse files Browse the repository at this point in the history
Closes cockroachdb#36861.

This test runs a geo-distributed import in the same configuration
as the one we saw cause issues with cockroachdb#36861.

I'm testing now to see if this will actually trigger the consistency
failure without the fix from cockroachdb#36939.

Release note: None
  • Loading branch information
nvanbenschoten authored and ajwerner committed May 15, 2019
1 parent 54b6a5c commit 0fbb322
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/cmd/roachtest/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ func registerImportTPCC(r *registry) {
},
})
}
const geoWarehouses = 4000
const geoZones = "europe-west2-b,europe-west4-b,asia-northeast1-b,us-west1-b"
r.Add(testSpec{
Name: fmt.Sprintf("import/tpcc/warehouses=%d/geo", geoWarehouses),
Cluster: makeClusterSpec(8, cpu(16), geo(), zones(geoZones)),
Timeout: 5 * time.Hour,
Run: func(ctx context.Context, t *test, c *cluster) {
runImportTPCC(ctx, t, c, geoWarehouses)
},
})
r.Add(testSpec{
Name: `import/experimental-direct-ingestion`,
Skip: `bricks cluster`,
Expand Down

0 comments on commit 0fbb322

Please sign in to comment.