File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -985,7 +985,7 @@ func Test_CallbackOverrun(t *testing.T) {
985985
986986 err := <- handlerError
987987 if err != nil {
988- t .Fatalf (err .Error ())
988+ t .Fatal (err .Error ())
989989 }
990990
991991 time .Sleep (time .Microsecond ) // Allow a little time in case the handler returning after connection dropped causes an issue (panic)
@@ -1206,7 +1206,7 @@ func Test_cleanUpMids_2(t *testing.T) {
12061206 t .Fatalf ("Should be a token in the messageIDs, none found" )
12071207 }
12081208 // fmt.Println("Disconnecting", len(cl.messageIds.index))
1209- c .Disconnect (0 )
1209+ c .Disconnect (500 ) // Wait half a second to allow operation to complete
12101210
12111211 fmt .Println ("Wait on Token" )
12121212 // We should be able to wait on this token without any issue
You can’t perform that action at this time.
0 commit comments