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

Commite2e3b8a

Browse files
committed
Disable tests using injection points in installcheck
The 'gin' test injections faults to GIN index build. If another testrunning concurrently in the same cluster also tries to create a GINindex, it will hit the fault, too.To fix, disable tests using injection points when running against anexisting cluster. A better long-term solution would be to make theinjection points scoped to the database or process, but this will dofor now.Discussion:https://www.postgresql.org/message-id/CA%2BhUKGJYhcG_o2nwSK6r01eOZJwNWUJUbX%3D%3DAVnW84f-%2B8yamQ@mail.gmail.comDiscussion:https://www.postgresql.org/message-id/10fd6cdd-c5d9-46fe-9fa1-7e661191309e@iki.fi
1 parent071e3ad commite2e3b8a

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

‎src/test/modules/gin/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ EXTRA_INSTALL = src/test/modules/injection_points
44

55
REGRESS = gin_incomplete_splits
66

7+
# The injection points are cluster-wide, so disable installcheck
8+
NO_INSTALLCHECK = 1
9+
710
ifdefUSE_PGXS
811
PG_CONFIG = pg_config
912
PGXS :=$(shell$(PG_CONFIG) --pgxs)

‎src/test/modules/gin/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ tests += {
1212
'sql': [
1313
'gin_incomplete_splits',
1414
],
15+
# The injection points are cluster-wide, so disable installcheck
16+
'runningcheck':false,
1517
},
1618
}

‎src/test/modules/injection_points/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ PGFILEDESC = "injection_points - facility for injection points"
88

99
REGRESS = injection_points
1010

11+
# The injection points are cluster-wide, so disable installcheck
12+
NO_INSTALLCHECK = 1
13+
1114
ifdefUSE_PGXS
1215
PG_CONFIG = pg_config
1316
PGXS :=$(shell$(PG_CONFIG) --pgxs)

‎src/test/modules/injection_points/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ tests += {
3333
'sql': [
3434
'injection_points',
3535
],
36+
# The injection points are cluster-wide, so disable installcheck
37+
'runningcheck':false,
3638
},
3739
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp