Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serverutils: move an assertion to a better place
Prior to this patch, the assertion on the value of DefaultTestTenant was inside `ShouldStartDefaultTestTenant()`. However, this function is only ever called from `StartServer`; it is not called from `NewServer()`. This means that tests that call `NewServer` directly do not get the benefit of the validity check. This patch moves the assertion to the better place. Release note: None
- Loading branch information