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 19:20:17 +01:00
committed by Christian Schwarz
parent 264b0ada9f
commit 39b10696e9
+1 -1
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,