[bugfix] Return useful err on server start failure (#3879)

* [bugfix] Return useful err on `server start` failure

* remove scheduler started func

* remove tryUntil
This commit is contained in:
tobi
2025-03-05 19:12:53 +01:00
committed by GitHub
parent 829143d263
commit 69461c461b
9 changed files with 86 additions and 81 deletions

View File

@ -76,7 +76,9 @@ func (suite *ListsStandardTestSuite) SetupSuite() {
func (suite *ListsStandardTestSuite) SetupTest() {
suite.state.Caches.Init()
suite.state.Caches.Start()
if err := suite.state.Caches.Start(); err != nil {
panic("error starting caches: " + err.Error())
}
testrig.StartNoopWorkers(&suite.state)
testrig.InitTestConfig()