File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public void TestBasicFunctionality ()
88
88
Assert . That ( headers , Has . Count . EqualTo ( 6 ) , "Count #4" ) ;
89
89
90
90
Assert . That ( headers . Contains ( HeaderId . To ) , Is . True , "Contains #1" ) ;
91
- Assert . That ( headers , Does . Contain ( "reply-to" ) , "Contains #2" ) ;
91
+ Assert . That ( headers . Contains ( "reply-to" ) , Is . True , "Contains #2" ) ;
92
92
93
93
var results = new string [ headers . Count ] ;
94
94
headers . CopyTo ( results , 0 ) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void TestConnectTimeout ()
47
47
48
48
var elapsed = stopwatch . Elapsed . TotalSeconds ;
49
49
50
- if ( elapsed < 10 || elapsed > 12 )
50
+ if ( elapsed < 9.5 || elapsed > 12 )
51
51
Assert . Fail ( $ "Expected timeout to be around 10 seconds, but was { elapsed } seconds.") ;
52
52
else
53
53
Assert . Pass ( "Connect timed out as expected." ) ;
You can’t perform that action at this time.
0 commit comments