Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac9c5dc

Browse files
committed
Fix pgbench TAP test.
Bildfarm member prairiedog reported a pgbench TAP test failure after commit: 4a39f87. 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
1 parent d4781d8 commit ac9c5dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pgbench/t/001_pgbench_with_server.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,8 @@ sub check_pgbench_logs
12221222
# Check that we have a serialization error and the same random value of the
12231223
# delta variable in the next try
12241224
my $err_pattern =
1225-
"client (0|1) got an error in command 3 \\(SQL\\) of script 0; "
1225+
"(client (0|1) sending UPDATE xy SET y = y \\+ -?\\d+\\b).*"
1226+
. "client \\g2 got an error in command 3 \\(SQL\\) of script 0; "
12261227
. "ERROR: could not serialize access due to concurrent update\\b.*"
12271228
. "\\g1";
12281229

0 commit comments

Comments
 (0)