Skip to content

Commit 7595d3a

Browse files
authored
pageserver: add no_sync for use in regression tests (2/2) (#9678)
## Problem Followup to #9677 which enables `no_sync` in tests. This can be merged once the next release has happened. ## Summary of changes - Always run pageserver with `no_sync = true` in tests.
1 parent 1ff5333 commit 7595d3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test_runner/fixtures/neon_fixtures.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,9 @@ def __init__(self, config: NeonEnvBuilder):
10651065
"http_auth_type": http_auth_type,
10661066
# Default which can be overriden with `NeonEnvBuilder.pageserver_config_override`
10671067
"availability_zone": "us-east-2a",
1068+
# Disable pageserver disk syncs in tests: when running tests concurrently, this avoids
1069+
# the pageserver taking a long time to start up due to syncfs flushing other tests' data
1070+
"no_sync": True,
10681071
}
10691072
if self.pageserver_virtual_file_io_engine is not None:
10701073
ps_cfg["virtual_file_io_engine"] = self.pageserver_virtual_file_io_engine

0 commit comments

Comments
 (0)