mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 14:52:24 -06:00
[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:
parent
829143d263
commit
69461c461b
9 changed files with 86 additions and 81 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue