Adjust parallel_schedule with event triggers on authenticated login
authorAlexander Korotkov <akorotkov@postgresql.org>
Fri, 27 Oct 2023 08:30:39 +0000 (11:30 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Fri, 27 Oct 2023 08:34:30 +0000 (11:34 +0300)
Event triggers on authenticated login could catch the connection of the
concurrent test.  In order to prevent this side effect we need to run
the event_trigger test alone.

Discussion: https://postgr.es/m/flat/CAMEv5_sS5G7K1PCV2oBx5+1NF1ZneJ6C5Z_xV_SWsZMukdFZiA@mail.gmail.com
Author: Mikhail A. Gribkov
Reviewed-by: Aleksander Alekseev
src/test/regress/parallel_schedule

index 4df9d8503b91cb563fb7b4a2083795895d94d115..512cb97dfd90342a8c0bbbb5f1d935ab5332fbb1 100644 (file)
@@ -121,10 +121,12 @@ test: plancache limit plpgsql copy2 temp domain rangefuncs prepare conversion tr
 # ----------
 test: partition_join partition_prune reloptions hash_part indexing partition_aggregate partition_info tuplesort explain compression memoize stats
 
-# event_trigger depends on create_am and cannot run concurrently with
-# any test that runs DDL
-# oidjoins is read-only, though, and should run late for best coverage
-test: event_trigger oidjoins
+# event_trigger cannot run concurrently with any other tests because
+# on-login event handling could catch connection of a concurrent test.
+test: event_trigger
+
+# oidjoins should run late for best coverage
+test: oidjoins
 
 # this test also uses event triggers, so likewise run it by itself
 test: fast_default