Skip to content

Commit

Permalink
Merge #118271
Browse files Browse the repository at this point in the history
118271: roachtest: add snapshot variant of tpcc r=nvanbenschoten a=nvanbenschoten

This commit adds the following roachtest variant:
```
tpcc-nowait/isolation-level=snapshot/nodes=3/w=1
```

Epic: None
Release note: None

Co-authored-by: Nathan VanBenschoten <[email protected]>
  • Loading branch information
craig[bot] and nvanbenschoten committed Jan 24, 2024
2 parents e976a46 + b8f0fda commit 7f540c4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkg/cmd/roachtest/tests/tpcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,25 @@ func registerTPCC(r registry.Registry) {
})
},
})
r.Add(registry.TestSpec{
Name: "tpcc-nowait/isolation-level=snapshot/nodes=3/w=1",
Owner: registry.OwnerTestEng,
Benchmark: true,
Cluster: r.MakeClusterSpec(4, spec.CPU(16)),
CompatibleClouds: registry.AllExceptAWS,
Suites: registry.Suites(registry.Nightly),
EncryptionSupport: registry.EncryptionMetamorphic,
Leases: registry.MetamorphicLeases,
Run: func(ctx context.Context, t test.Test, c cluster.Cluster) {
runTPCC(ctx, t, c, tpccOptions{
Warehouses: 1,
Duration: 10 * time.Minute,
ExtraRunArgs: "--wait=false --isolation-level=snapshot",
SetupType: usingImport,
ExpensiveChecks: true,
})
},
})
r.Add(registry.TestSpec{
Name: "tpcc-nowait/isolation-level=read-committed/nodes=3/w=1",
Owner: registry.OwnerTestEng,
Expand Down

0 comments on commit 7f540c4

Please sign in to comment.