Test: stabilize 037.failover_session. master
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 25 Nov 2025 09:45:01 +0000 (18:45 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 25 Nov 2025 09:57:52 +0000 (18:57 +0900)
commitadbd71a331fce4204ad7f12f1116758ae7d506b7
tree03780416a6cd4f6d41986ab7bcb68990b4e3530e
parent292f40866819c4d3c6cc15c8b019c540c476397a
Test: stabilize 037.failover_session.

On some platform (in my case Rocky Linux 10 running on VitualBox)
fails to finish shutdownall after test1.  This could be caused by the
failover in the test to fail to restore the signal handler which
should accept shutdown signal from shutdownall. Adding "sleep 5"
before shutdownall seems to mitigate the problem.

Author: Tatsuo Ishii <ishii@postgresql.org>
Backpatch-through: v4.5
src/test/regression/tests/037.failover_session/test.sh