mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-31 21:32:25 -05: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
310319dc0e
commit
d0ae8f6231
9 changed files with 86 additions and 81 deletions
|
|
@ -78,7 +78,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