Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteabba4a

Browse files
committed
Fix explain regression test failure.
Commit9d701e6 caused the regression test for EXPLAIN to fail onthe buildfarm member prion. This happened because of instability oftest output, i.e., in text format, whether "Planning:" line is outputvaries depending on the system state.This commit updated the regression test so that it ignores that"Planning:" line to produce more stable test output and get rid ofthe test failure.Back-patch to v13.Author: Fujii MasaoDiscussion:https://postgr.es/m/1803897.1598021621@sss.pgh.pa.us
1 parent9d701e6 commiteabba4a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎src/test/regress/expected/explain.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ begin
2323
-- Ignore text-mode buffers output because it varies depending
2424
-- on the system state
2525
CONTINUE WHEN (ln ~ ' +Buffers: .*');
26+
-- Ignore text-mode "Planning:" line because whether it's output
27+
-- varies depending on the system state
28+
CONTINUE WHEN (ln = 'Planning:');
2629
return next ln;
2730
end loop;
2831
end;

‎src/test/regress/sql/explain.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ begin
2525
-- Ignore text-mode buffers output because it varies depending
2626
-- on the system state
2727
CONTINUE WHEN (ln ~' +Buffers: .*');
28+
-- Ignore text-mode "Planning:" line because whether it's output
29+
-- varies depending on the system state
30+
CONTINUE WHEN (ln='Planning:');
2831
return next ln;
2932
end loop;
3033
end;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp