From addad3b2aa0f3e5a989c2a49e648aeeddcf04c0d Mon Sep 17 00:00:00 2001 From: Grant Gurvis Date: Sat, 23 Nov 2024 04:36:49 -0800 Subject: [PATCH] fix: flaky fig_integration test --- crates/fig_integrations/src/file.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/fig_integrations/src/file.rs b/crates/fig_integrations/src/file.rs index 15d1988f3..70b36e70f 100644 --- a/crates/fig_integrations/src/file.rs +++ b/crates/fig_integrations/src/file.rs @@ -100,6 +100,7 @@ impl Integration for FileIntegration { debug!(path =? self.path, "Writing file integrations"); file.write_all(self.contents.as_bytes()).await?; + file.flush().await?; Ok(()) }