Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: fix StartedDefaultTestTenant in an error case
Previously, if `TestServer.Start` returned an error while the default test tenant wasn't disabled, we'd incorrectly consider that we had started the default test tenant. This, then, could lead to some problems (e.g. trying to access non-existing tenant which could lead to a crash). This is fixed by checking whether we have test tenants. Release note: None
- Loading branch information