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.
This commit is contained in:
Stas Kelvich
2021-05-18 21:27:49 +03:00
parent 2b2d24433a
commit 21ea70c8f5

View File

@@ -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();