Skip to content

Commit

Permalink
Adjust test waits
Browse files Browse the repository at this point in the history
  • Loading branch information
mcphailtom committed Oct 9, 2023
1 parent 00e96cf commit d39a24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (s *LogManagerTestSuite) TestRemoveLogFile() {
err = os.Remove(of.Name())
s.NoError(err)

time.Sleep(1 * time.Second)
time.Sleep(100 * time.Millisecond)
select {
case err := <-errorChan:
s.Equal(fmt.Sprintf("state: File removed msg: file removed, waiting for creation: %s", of.Name()), err.Error())
Expand Down

0 comments on commit d39a24b

Please sign in to comment.