diff --git a/packages/cipherstash-proxy/src/postgresql/context/mod.rs b/packages/cipherstash-proxy/src/postgresql/context/mod.rs index d446286e6..2b16d1b35 100644 --- a/packages/cipherstash-proxy/src/postgresql/context/mod.rs +++ b/packages/cipherstash-proxy/src/postgresql/context/mod.rs @@ -993,8 +993,11 @@ where /// statement it replaced survives, so a Bind sent now would bind that statement instead. /// PostgreSQL answers that earlier batch without waiting for the client, so this ends. pub async fn wait_for_statement(&self, name: &Name) -> Result<(), Error> { - self.wait_while(|settings| settings.statement_uncertain(name)) - .await + // DO NOT MERGE: disabled to show the integration tests fail without the wait + self.wait_while(|settings| { + settings.statement_uncertain(name) && std::hint::black_box(false) + }) + .await } /// Waits until PostgreSQL has confirmed or rejected every setting change the client sent