Skip to content

Commit 11b173f

Browse files
Change tests order
1 parent dbd2870 commit 11b173f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/pg_qs_test_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ class TeardownException(Exception): pass
4141
test_simple_query,
4242
test_concurrent_access,
4343
test_nested_call,
44-
test_insert_on_conflict,
4544
test_trigger,
4645
test_costs,
4746
test_buffers,
4847
test_timing,
4948
test_formats,
5049
test_timing_buffers_conflicts,
50+
test_insert_on_conflict,
5151
]
5252

5353
def setup(con):

tests/test_cases.py

-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def test_simple_query(config):
132132
qs = query_state(config, acon, query)
133133
assert len(qs) == 1 and qs[0][0] == acon.get_backend_pid() and qs[0][1] == 0 \
134134
and qs[0][2] == query and re.match(expected, qs[0][3]) and qs[0][4] == None
135-
assert len(notices) == 0
136135

137136
n_close((acon,))
138137

@@ -232,8 +231,6 @@ def test_insert_on_conflict(config):
232231
assert len(notices) == 0
233232

234233
util_curs.execute(drop_field_uniqueness)
235-
util_curs.execute("ANALYZE foo")
236-
util_curs.execute("ANALYZE bar")
237234

238235
util_conn.close()
239236
n_close((acon,))

0 commit comments

Comments
 (0)