Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzer testing for 2PC transactions #16476

Merged
merged 11 commits into from
Jul 29, 2024
Prev Previous commit
Next Next commit
test: add multiple threads tests
Signed-off-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed Jul 25, 2024
commit e0efd76b037381a96011087b1034e74c60e3c87a
12 changes: 12 additions & 0 deletions go/test/endtoend/transaction/twopc/fuzzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ func TestTwoPCFuzzTest(t *testing.T) {
updateSets: 1,
timeForTesting: 5 * time.Second,
},
{
name: "Multiple Threads - Single Set",
threads: 5,
updateSets: 1,
timeForTesting: 5 * time.Second,
},
{
name: "Multiple Threads - Multiple Set",
threads: 15,
updateSets: 15,
timeForTesting: 5 * time.Second,
},
}

for _, tt := range testcases {
Expand Down