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

Commit3ec9848

Browse files
committed
Add schedule for regression tests instead of list of tests in the REGRESS
variable.The real reason is to successfully pass the statement_timeout test in very slowenvironments.We must inialize REGRESS. So, add an empty dummy test just to define thevariable. regress_schedule contains the full list of real tests. So all changesfor real tests will be made in a general way in regress_schedule.Authors: a.lepikhov, m.polyakova.
1 parent7886afe commit3ec9848

File tree

4 files changed

+26
-20
lines changed

4 files changed

+26
-20
lines changed

‎Makefile

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,10 @@ OBJS = $(WIN32RES) \
1111

1212
TAP_TESTS = 1
1313

14-
REGRESS =aqo_disabled\
15-
aqo_controlled\
16-
aqo_intelligent\
17-
aqo_forced\
18-
aqo_learn\
19-
schema\
20-
aqo_fdw\
21-
aqo_CVE-2020-14350\
22-
gucs\
23-
forced_stat_collection\
24-
unsupported\
25-
clean_aqo_data\
26-
parallel_workers\
27-
plancache\
28-
statement_timeout\
29-
temp_tables\
30-
top_queries\
31-
relocatable\
32-
look_a_like\
33-
feature_subspace
14+
# Use an empty dummy test to define the variable REGRESS and therefore run all
15+
# regression tests. regress_schedule contains the full list of real tests.
16+
REGRESS = aqo_dummy_test
17+
REGRESS_OPTS = --schedule=$(srcdir)/regress_schedule
3418

3519
fdw_srcdir =$(top_srcdir)/contrib/postgres_fdw
3620
stat_srcdir =$(top_srcdir)/contrib/pg_stat_statements

‎expected/aqo_dummy_test.out

Whitespace-only changes.

‎regress_schedule

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
test: aqo_disabled
2+
test: aqo_controlled
3+
test: aqo_intelligent
4+
test: aqo_forced
5+
test: aqo_learn
6+
test: schema
7+
test: aqo_fdw
8+
test: aqo_CVE-2020-14350
9+
test: gucs
10+
test: forced_stat_collection
11+
test: unsupported
12+
test: clean_aqo_data
13+
test: parallel_workers
14+
test: plancache
15+
# Performance-dependent test. Can be ignored if executes in containers or on slow machines
16+
ignore: statement_timeout
17+
test: statement_timeout
18+
test: temp_tables
19+
test: top_queries
20+
test: relocatable
21+
test: look_a_like
22+
test: feature_subspace

‎sql/aqo_dummy_test.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp