parallel_schedule 4.1 KB
Newer Older
1
# ----------
2
# src/test/regress/parallel_schedule
3 4 5 6 7
#
# By convention, we put no more than twenty tests in any one parallel group;
# this limits the number of connections needed to run the tests.
# ----------

8 9 10 11 12
# run tablespace by itself, and first, because it forces a checkpoint;
# we'd prefer not to have checkpoints later in the tests because that
# interferes with crash-recovery testing.
test: tablespace

13 14
# ----------
# The first group of parallel tests
15
# ----------
16
test: boolean char name varchar text int2 int4 int8 oid float4 float8 bit numeric txid uuid enum money rangetypes pg_lsn regproc
17 18 19 20 21 22 23

# Depends on things setup during char, varchar and text
test: strings
# Depends on int2, int4, int8, float4, float8
test: numerology

# ----------
24
# The second group of parallel tests
25
# ----------
26
test: point lseg line box path polygon circle date time timetz timestamp timestamptz interval abstime reltime tinterval inet macaddr macaddr8 tstypes
27

28 29 30 31 32
# ----------
# Another group of parallel tests
# geometry depends on point, lseg, box, path, polygon and circle
# horology depends on interval, timetz, timestamp, timestamptz, reltime and abstime
# ----------
33
test: geometry horology regex oidjoins type_sanity opr_sanity misc_sanity comments expressions
34 35 36 37

# ----------
# These four each depend on the previous one
# ----------
Bruce Momjian's avatar
Bruce Momjian committed
38
test: insert
39
test: insert_conflict
40 41 42 43 44 45 46 47 48 49 50
test: create_function_1
test: create_type
test: create_table
test: create_function_2

# ----------
# Load huge amounts of data
# We should split the data files into single files and then
# execute two copy tests parallel, to check that copy itself
# is concurrent safe.
# ----------
51
test: copy copyselect copydml
52 53

# ----------
54
# More groups of parallel tests
55
# ----------
56 57
test: create_misc create_operator
# These depend on the above two
58
test: create_index create_view
59

60 61 62
# ----------
# Another group of parallel tests
# ----------
63
test: create_aggregate create_function_3 create_cast constraints triggers inherit create_table_like typed_table vacuum drop_if_exists updatable_views rolenames roleattributes create_am
64

65 66 67 68 69 70 71 72 73 74 75 76
# ----------
# sanity_check does a vacuum, affecting the sort order of SELECT *
# results. So it should not run parallel to other tests.
# ----------
test: sanity_check

# ----------
# Believe it or not, select creates a table, subsequent
# tests need.
# ----------
test: errors
test: select
77
ignore: random
78 79

# ----------
80
# Another group of parallel tests
81
# ----------
82
test: select_into select_distinct select_distinct_on select_implicit select_having subselect union case join aggregates transactions random portals arrays btree_index hash_index update namespace prepared_xacts delete
83

84 85 86
# ----------
# Another group of parallel tests
# ----------
87
test: brin gin gist spgist privileges init_privs security_label collate matview lock replica_identity rowsecurity object_address tablesample groupingsets drop_operator password
88 89 90 91

# ----------
# Another group of parallel tests
# ----------
92
test: alter_generic alter_operator misc psql async dbsize misc_functions sysviews tsrf tidscan stats_ext
93

94
# rules cannot run concurrently with any test that creates a view
95 96 97 98
test: rules psql_crosstab amutils

# run by itself so it can run parallel workers
test: select_parallel
99

Peter Eisentraut's avatar
Peter Eisentraut committed
100 101 102
# no relation related tests can be put in this group
test: publication subscription

103
# ----------
104
# Another group of parallel tests
105
# ----------
106
test: select_views portals_p2 foreign_key cluster dependency guc bitmapops combocid tsearch tsdicts foreign_data window xmlmap functional_deps advisory_lock json jsonb json_encoding indirect_toast equivclass
107
# ----------
108
# Another group of parallel tests
109 110
# NB: temp.sql does a reconnect which transiently uses 2 connections,
# so keep this parallel group to at most 19 tests
111
# ----------
112
test: plancache limit plpgsql copy2 temp domain rangefuncs prepare without_oid conversion truncate alter_table sequence polymorphism rowtypes returning largeobject with xml
113

Peter Eisentraut's avatar
Peter Eisentraut committed
114 115 116 117 118
# ----------
# Another group of parallel tests
# ----------
test: identity

119 120 121
# event triggers cannot run concurrently with any test that runs DDL
test: event_trigger

122 123
# run stats by itself because its delay may be insufficient under heavy load
test: stats