0001-Add-missed-wait_for_event-in-007_catcache_inval.pl-T.patch.nocfbot

application/octet-stream

Filename: 0001-Add-missed-wait_for_event-in-007_catcache_inval.pl-T.patch.nocfbot
Type: application/octet-stream
Part: 0
Message: Re: Recovering from detoast-related catcache invalidations
From 6611f5dc305922cf6916607edd35cc4ee7e592bc Mon Sep 17 00:00:00 2001
From: Arseniy Mukhin <arseniy.mukhin.dev@gmail.com>
Date: Mon, 29 Sep 2025 19:05:32 +0300
Subject: [PATCH] Add missed wait_for_event in 007_catcache_inval.pl TAP test

---
 src/test/modules/test_misc/t/007_catcache_inval.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/modules/test_misc/t/007_catcache_inval.pl b/src/test/modules/test_misc/t/007_catcache_inval.pl
index 422301b5342..d5f5546d70a 100644
--- a/src/test/modules/test_misc/t/007_catcache_inval.pl
+++ b/src/test/modules/test_misc/t/007_catcache_inval.pl
@@ -65,6 +65,8 @@ $psql_session->query_until(
    SELECT foofunc(1);
 ));
 
+$node->wait_for_event('client backend', 'catcache-list-miss-systable-scan-started');
+
 # While the first session is building the catcache list, create a new
 # function that overloads the same name. This sends a catcache
 # invalidation.
-- 
2.43.0