#1: Attempt to fix travis tests run

This commit is contained in:
ErickSkrauch 2019-04-28 20:24:08 +03:00
parent 9250d53fb3
commit 90ce22f687

View File

@ -109,6 +109,7 @@ func (suite *queueTestSuite) SetupTest() {
func (suite *queueTestSuite) TearDownTest() { func (suite *queueTestSuite) TearDownTest() {
suite.done() suite.done()
time.Sleep(10 * time.Millisecond) // Add delay to let finish all goroutines before assert mocks calls
suite.MojangApi.AssertExpectations(suite.T()) suite.MojangApi.AssertExpectations(suite.T())
suite.Storage.AssertExpectations(suite.T()) suite.Storage.AssertExpectations(suite.T())
suite.Logger.AssertExpectations(suite.T()) suite.Logger.AssertExpectations(suite.T())