Skip to content

Commit

Permalink
Sleep a bit more to let any deferred initialization to complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed May 28, 2024
1 parent c650a08 commit 13327d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sippy/stm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func Test_SipTransactionManager(t *testing.T) {
cmap := NewTestCallMap(config)
tfactory := NewTestSipTransportFactory()
config.SetSipTransportFactory(tfactory)
time.Sleep(100 * time.Millisecond)
numGoroutinesBefore := runtime.NumGoroutine()
cmap.sip_tm, err = NewSipTransactionManager(config, cmap)
if err != nil {
Expand Down

0 comments on commit 13327d8

Please sign in to comment.