mirror of
https://github.com/postgres/postgres.git
synced 2026-02-23 01:40:33 -05:00
Fix pgbench TAP test.
Bildfarm member prairiedog reported a pgbench TAP test failure after
commit: 4a39f87acd. This commit attempts
to fix some copy&paste errors introduced in the previous commit.
Author: Yugo Nagata
Reported-by: Tom Lane
Discussion: https://postgr.es/m/2775989.1648060014%40sss.pgh.pa.us
This commit is contained in:
parent
d4781d8873
commit
ac9c5dc5d4
1 changed files with 2 additions and 1 deletions
|
|
@ -1222,7 +1222,8 @@ local $ENV{PGOPTIONS} = "-c default_transaction_isolation=repeatable\\ read";
|
|||
# Check that we have a serialization error and the same random value of the
|
||||
# delta variable in the next try
|
||||
my $err_pattern =
|
||||
"client (0|1) got an error in command 3 \\(SQL\\) of script 0; "
|
||||
"(client (0|1) sending UPDATE xy SET y = y \\+ -?\\d+\\b).*"
|
||||
. "client \\g2 got an error in command 3 \\(SQL\\) of script 0; "
|
||||
. "ERROR: could not serialize access due to concurrent update\\b.*"
|
||||
. "\\g1";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue