aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/test_shm_mq/setup.c')
-rw-r--r--src/test/modules/test_shm_mq/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/modules/test_shm_mq/setup.c b/src/test/modules/test_shm_mq/setup.c
index 7f2f5fd3ff7..061af8b4676 100644
--- a/src/test/modules/test_shm_mq/setup.c
+++ b/src/test/modules/test_shm_mq/setup.c
@@ -287,11 +287,11 @@ wait_for_workers_to_become_ready(worker_state *wstate,
/* Wait to be signalled. */
WaitLatch(MyLatch, WL_LATCH_SET, 0);
- /* An interrupt may have occurred while we were waiting. */
- CHECK_FOR_INTERRUPTS();
-
/* Reset the latch so we don't spin. */
ResetLatch(MyLatch);
+
+ /* An interrupt may have occurred while we were waiting. */
+ CHECK_FOR_INTERRUPTS();
}
}
PG_CATCH();