-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase patience config #860
Conversation
@@ -400,6 +404,8 @@ class ClusterHttpManagementRoutesSpec | |||
|
|||
import scala.concurrent.duration._ | |||
|
|||
implicit val patience: PatienceConfig = PatienceConfig(timeout = Span(3, Seconds), interval = Span(50, Millis)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flaky test in #848 doesn't seem to do anything fancier than any other test in that Spec so I suspect this PatienceConfig is not the fix.
@@ -443,7 +449,7 @@ class ClusterHttpManagementRoutesSpec | |||
.futureValue(t) | |||
responseGetDomainEvents.status shouldEqual StatusCodes.OK | |||
val responseGetDomainEventsData = responseGetDomainEvents.entity.dataBytes | |||
.takeWithin(100.millis) | |||
.takeWithin(500.millis) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect this is the actual fix since taking events during a longer period is likely to obtain the one we're looking for.
87c0c50
to
c588b49
Compare
dcc2ed3
to
3ab1f78
Compare
Rebased over #859 |
A blind shot at fixing #848