Fix unit tests.

`activate` is now more strict and errors out if the tenant is already
Active.
This commit is contained in:
Heikki Linnakangas
2022-11-24 12:24:11 +02:00
committed by Christian Schwarz
parent 264b0ada9f
commit 39b10696e9

View File

@@ -2556,7 +2556,7 @@ pub mod harness {
let walredo_mgr = Arc::new(TestRedoManager);
let tenant = Arc::new(Tenant::new(
TenantState::Active,
TenantState::Loading,
self.conf,
TenantConfOpt::from(self.tenant_conf),
walredo_mgr,