File tree 1 file changed +4
-4
lines changed
test/Microsoft.AspNet.Server.KestrelTests
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public void CanWrite1MB()
54
54
socketOutput . Write ( buffer , onCompleted , null ) ;
55
55
56
56
// Assert
57
- Assert . True ( completedWh . Wait ( 100 ) ) ;
57
+ Assert . True ( completedWh . Wait ( 1000 ) ) ;
58
58
}
59
59
}
60
60
@@ -97,19 +97,19 @@ public void WritesDontCompleteImmediatelyWhenTooManyBytesAreAlreadyPreCompleted(
97
97
socketOutput . Write ( buffer , onCompleted , null ) ;
98
98
// Assert
99
99
// The first write should pre-complete since it is <= _maxBytesPreCompleted.
100
- Assert . True ( completedWh . Wait ( 100 ) ) ;
100
+ Assert . True ( completedWh . Wait ( 1000 ) ) ;
101
101
// Arrange
102
102
completedWh . Reset ( ) ;
103
103
// Act
104
104
socketOutput . Write ( buffer , onCompleted , null ) ;
105
105
// Assert
106
106
// Too many bytes are already pre-completed for the second write to pre-complete.
107
- Assert . False ( completedWh . Wait ( 100 ) ) ;
107
+ Assert . False ( completedWh . Wait ( 1000 ) ) ;
108
108
// Act
109
109
completeQueue . Dequeue ( ) ( 0 ) ;
110
110
// Assert
111
111
// Finishing the first write should allow the second write to pre-complete.
112
- Assert . True ( completedWh . Wait ( 100 ) ) ;
112
+ Assert . True ( completedWh . Wait ( 1000 ) ) ;
113
113
}
114
114
}
115
115
You can’t perform that action at this time.
0 commit comments