Minor changes to get integration tests to run for communicator.

This commit is contained in:
Elizabeth Murray
2025-06-06 04:32:51 +02:00
parent 68f18ccacf
commit 7140a50225
2 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ name = "communicator"
version = "0.1.0"
edition = "2024"
[features]
testing = []
[lib]
crate-type = ["staticlib"]

View File

@@ -4208,6 +4208,8 @@ class Endpoint(PgProtocol, LogUtils):
# and make tests more stable.
config_lines = ["max_replication_write_lag=15MB"] + config_lines
config_lines = ["neon.enable_new_communicator=true"] + config_lines
# Delete file cache if it exists (and we're recreating the endpoint)
if USE_LFC:
if (lfc_path := Path(self.lfc_path())).exists():