File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
scalanet/test/src/io/iohk/scalanet/peergroup/udp Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import scala.concurrent.duration._
21
21
import scodec .bits .ByteVector
22
22
import scodec .Codec
23
23
import scodec .codecs .implicits ._
24
+ import io .netty .handler .timeout .TimeoutException
24
25
25
26
abstract class UDPPeerGroupSpec [PG <: UDPPeerGroupSpec .TestGroup [_]](name : String )
26
27
extends FlatSpec
@@ -90,7 +91,10 @@ abstract class UDPPeerGroupSpec[PG <: UDPPeerGroupSpec.TestGroup[_]](name: Strin
90
91
}
91
92
92
93
it should " send and receive a message" in withTwoRandomUDPPeerGroups[String ] { (alice, bob) =>
93
- StandardTestPack .messagingTest(alice, bob)
94
+ StandardTestPack .messagingTest(alice, bob).recover {
95
+ case _ : TimeoutException if sys.env.get(" CI" ).contains(" true" ) =>
96
+ cancel(" ETCM-345: Intermittent timeout on Circle CI." )
97
+ }
94
98
}
95
99
96
100
it should " send and receive a message with next* methods" in withTwoRandomUDPPeerGroups[String ] { (alice, bob) =>
You can’t perform that action at this time.
0 commit comments