Skip to content

Commit

Permalink
Increase max wait time for flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richbirch committed Sep 30, 2024
1 parent 5691d8f commit dbe1a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CrunchEgateBanksSpec extends CrunchTestLike {
Queues.EGate -> Seq.fill(15)(1)
))

crunch.portStateTestProbe.fishForMessage(1.seconds) {
crunch.portStateTestProbe.fishForMessage(2.seconds) {
case ps: PortState =>
val resultSummary = deskRecsFromPortState(ps, 15)
resultSummary == expected
Expand Down Expand Up @@ -93,7 +93,7 @@ class CrunchEgateBanksSpec extends CrunchTestLike {
Queues.EGate -> Seq.fill(15)(1)
))

crunch.portStateTestProbe.fishForMessage(1.seconds) {
crunch.portStateTestProbe.fishForMessage(2.seconds) {
case ps: PortState =>
deskRecsFromPortState(ps, 15) == expected
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class VoyageManifestsSpec extends CrunchTestLike {

val expected = 2

crunch.portStateTestProbe.fishForMessage(1.seconds) {
crunch.portStateTestProbe.fishForMessage(2.seconds) {
case ps: PortState =>
val queuePax = paxLoadsFromPortState(ps, 60, 0)
.values
Expand Down Expand Up @@ -388,7 +388,7 @@ class VoyageManifestsSpec extends CrunchTestLike {

val expected = 3

crunch.portStateTestProbe.fishForMessage(1.seconds) {
crunch.portStateTestProbe.fishForMessage(2.seconds) {
case ps: PortState =>
val queuePax = paxLoadsFromPortState(ps, 60, 0)
.values
Expand Down Expand Up @@ -437,7 +437,7 @@ class VoyageManifestsSpec extends CrunchTestLike {

val expected = 2

crunch.portStateTestProbe.fishForMessage(1.seconds) {
crunch.portStateTestProbe.fishForMessage(2.seconds) {
case ps: PortState =>
val queuePax = paxLoadsFromPortState(ps, 60, 0)
.values
Expand Down

0 comments on commit dbe1a7e

Please sign in to comment.