Permalink
Browse files

Added eventually in JavaInputOutputStreamSpec to handle intermittent …

…failure
  • Loading branch information...
mpilquist committed Jan 30, 2018
1 parent 0fac204 commit 21df705f115ccf8b2dd9540bb44b9297465cb8e3
Showing with 3 additions and 3 deletions.
  1. +3 −3 io/src/test/scala/fs2/io/JavaInputOutputStreamSpec.scala
@@ -1,11 +1,11 @@
package fs2.io
import cats.effect.IO
import fs2.{Chunk, Fs2Spec, Stream}
import fs2.{Chunk, EventuallySupport, Fs2Spec, Stream}
import fs2.TestUtil._
import org.scalacheck.{Arbitrary, Gen}
class JavaInputOutputStreamSpec extends Fs2Spec {
class JavaInputOutputStreamSpec extends Fs2Spec with EventuallySupport {
"ToInputStream" - {
@@ -58,7 +58,7 @@ class JavaInputOutputStreamSpec extends Fs2Spec {
s.through(toInputStream).compile.drain.unsafeRunSync()
closed shouldBe true
eventually { closed shouldBe true }
}
"upstream.is.force-closed" in {

0 comments on commit 21df705

Please sign in to comment.