Skip to content

Commit 1432b43

Browse files
committed
jeez
1 parent c6d5c58 commit 1432b43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration/go/go_pgx/sharded_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ func TestShardedTwoPc(t *testing.T) {
152152
assert.NoError(t, err)
153153
}
154154

155-
// +3 is for schema sync
155+
// +4 is for schema sync
156156
assertShowField(t, "SHOW STATS", "total_xact_2pc_count", 200, "pgdog_2pc", "pgdog_sharded", 0, "primary")
157157
assertShowField(t, "SHOW STATS", "total_xact_2pc_count", 200, "pgdog_2pc", "pgdog_sharded", 1, "primary")
158-
assertShowField(t, "SHOW STATS", "total_xact_count", 401+3, "pgdog_2pc", "pgdog_sharded", 0, "primary") // PREPARE, COMMIT for each transaction + TRUNCATE
159-
assertShowField(t, "SHOW STATS", "total_xact_count", 401+3, "pgdog_2pc", "pgdog_sharded", 1, "primary")
158+
assertShowField(t, "SHOW STATS", "total_xact_count", 401+4, "pgdog_2pc", "pgdog_sharded", 0, "primary") // PREPARE, COMMIT for each transaction + TRUNCATE
159+
assertShowField(t, "SHOW STATS", "total_xact_count", 401+4, "pgdog_2pc", "pgdog_sharded", 1, "primary")
160160

161161
for i := range 200 {
162162
rows, err := conn.Query(

0 commit comments

Comments
 (0)