Skip to content

Commit c9b574a

Browse files
committed
Run similar number of txs to previous test and ignore context.
1 parent e4c36d0 commit c9b574a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/logic/coordinator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (suite *CoordinatorTestSuite) SetupSuite() {
5656

5757
suite.db = db
5858
suite.concurrentTransactions = 100
59-
suite.transactionsPerWorker = 100
59+
suite.transactionsPerWorker = 1
6060

6161
db.SetMaxOpenConns(suite.concurrentTransactions)
6262
}
@@ -144,7 +144,7 @@ func (suite *CoordinatorTestSuite) TestApplyDML() {
144144
err = applier.CreateChangelogTable()
145145
suite.Require().NoError(err)
146146

147-
g, ctx := errgroup.WithContext(ctx)
147+
g, _ := errgroup.WithContext(ctx)
148148
for range suite.concurrentTransactions {
149149
g.Go(func() error {
150150
for range suite.transactionsPerWorker {

0 commit comments

Comments
 (0)