tests: use dev mode

This commit is contained in:
John Spray
2025-04-25 17:55:45 +02:00
parent 0a74ed6f9e
commit 9f0538ff86
5 changed files with 9 additions and 0 deletions

View File

@@ -141,6 +141,8 @@ impl PageServerNode {
overrides.push(format!("ssl_ca_file='{}'", ssl_ca_file.to_str().unwrap()));
}
overrides.push("dev_mode=true".to_owned());
// Apply the user-provided overrides
overrides.push({
let mut doc =

View File

@@ -173,6 +173,7 @@ impl SafekeeperNode {
listen_http,
"--availability-zone".to_owned(),
availability_zone,
"--dev".to_owned(),
];
if let Some(pg_tenant_only_port) = self.conf.pg_tenant_only_port {
let listen_pg_tenant_only = format!("{}:{}", self.listen_addr, pg_tenant_only_port);

View File

@@ -65,6 +65,7 @@ services:
--id=$$SAFEKEEPER_ID
--broker-endpoint=$$BROKER_ENDPOINT
-D /data
--dev
--remote-storage=\"{endpoint='http://minio:9000',
bucket_name='neon',
bucket_region='eu-north-1',
@@ -95,6 +96,7 @@ services:
--id=$$SAFEKEEPER_ID
--broker-endpoint=$$BROKER_ENDPOINT
-D /data
--dev
--remote-storage=\"{endpoint='http://minio:9000',
bucket_name='neon',
bucket_region='eu-north-1',
@@ -125,6 +127,7 @@ services:
--id=$$SAFEKEEPER_ID
--broker-endpoint=$$BROKER_ENDPOINT
-D /data
--dev
--remote-storage=\"{endpoint='http://minio:9000',
bucket_name='neon',
bucket_region='eu-north-1',

View File

@@ -6,3 +6,4 @@ remote_storage={ endpoint='http://minio:9000', bucket_name='neon', bucket_region
control_plane_api='http://0.0.0.0:6666' # No storage controller in docker compose, specify a junk address
control_plane_emergency_mode=true
virtual_file_io_mode="buffered" # the CI runners where we run the docker compose tests have slow disks
dev_mode=true

View File

@@ -118,6 +118,8 @@ DEFAULT_PAGESERVER_ALLOWED_ERRORS = (
if sys.platform != "linux"
else []
),
# Tests run in dev mode
".*Starting in dev mode.*",
)