File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
jvm-native/src/main/scala/fs2/io/net
jvm/src/test/scala/fs2/io Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,7 @@ private[net] trait SocketCompanionPlatform {
117117 null ,
118118 new IntCompletionHandler (cb)
119119 )
120- F .delay(Some (F .delay {
121- ch.shutdownInput()
122- ()
123- }))
120+ F .delay(Some (endOfInput.voidError))
124121 }
125122
126123 def write (bytes : Chunk [Byte ]): F [Unit ] = {
@@ -131,10 +128,7 @@ private[net] trait SocketCompanionPlatform {
131128 null ,
132129 new IntCompletionHandler (cb)
133130 )
134- F .delay(Some (F .delay {
135- ch.shutdownOutput()
136- ()
137- }))
131+ F .delay(Some (endOfOutput.voidError))
138132 }.flatMap { written =>
139133 if (written >= 0 && buff.remaining() > 0 )
140134 go(buff)
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import java.util.concurrent.Executors
3939class IoPlatformSuite extends Fs2Suite {
4040
4141 // This suite runs for a long time, this avoids timeouts in CI.
42- override def munitIOTimeout : Duration = 1 .minute
42+ override def munitIOTimeout : Duration = 2 .minutes
4343
4444 group(" readOutputStream" ) {
4545 test(" writes data and terminates when `f` returns" ) {
You can’t perform that action at this time.
0 commit comments