Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3b8514

Browse files
committed
Add schedule for regression tests.
The real reason is to successfully pass the statement_timeout test in very slow environments.
1 parent 7886afe commit e3b8514

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

Makefile

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,8 @@ 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+
REGRESS = feature_subspace
15+
REGRESS_OPTS = --schedule=$(top_srcdir)/$(subdir)/regress_schedule
3416

3517
fdw_srcdir = $(top_srcdir)/contrib/postgres_fdw
3618
stat_srcdir = $(top_srcdir)/contrib/pg_stat_statements

regress_schedule

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

0 commit comments

Comments
 (0)