From 21ea70c8f547aa67fa12790b8ff5d06b96d503c8 Mon Sep 17 00:00:00 2001 From: Stas Kelvich Date: Tue, 18 May 2021 21:27:49 +0300 Subject: [PATCH] Fix test_acceptors_restarts. In 746f667 I "optimized" wal_acceptor tests by setting "--pageserver" flag only on one of wal_acceptors. Which obviously will hang the system if that wal_acceptors is down. And test_acceptors_restarts does exctly this. Set "--pageserver" on all wal_acceptors as it was before. --- integration_tests/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/src/lib.rs b/integration_tests/src/lib.rs index 09e5c58b61..95fc3b29c9 100644 --- a/integration_tests/src/lib.rs +++ b/integration_tests/src/lib.rs @@ -108,7 +108,7 @@ impl TestStorageControlPlane { data_dir: datadir_base.join(format!("wal_acceptor_{}", i)), systemid, env: local_env.clone(), - pass_to_pageserver: i == 0, + pass_to_pageserver: true, }; wal_acceptor.init(); wal_acceptor.start();