Skip to content
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

Merged
merged 4 commits into from
Feb 26, 2021
Merged

Increase patience config #860

merged 4 commits into from
Feb 26, 2021

Conversation

ignasi35
Copy link
Contributor

A blind shot at fixing #848

@@ -400,6 +404,8 @@ class ClusterHttpManagementRoutesSpec

import scala.concurrent.duration._

implicit val patience: PatienceConfig = PatienceConfig(timeout = Span(3, Seconds), interval = Span(50, Millis))
Copy link
Contributor Author

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)
Copy link
Contributor Author

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.

@ignasi35 ignasi35 force-pushed the increase-patience-config branch from 87c0c50 to c588b49 Compare February 25, 2021 12:21
@ignasi35 ignasi35 force-pushed the increase-patience-config branch from dcc2ed3 to 3ab1f78 Compare February 25, 2021 16:05
@ignasi35
Copy link
Contributor Author

ignasi35 commented Feb 25, 2021

Rebased over #859

@ignasi35 ignasi35 changed the base branch from master to wip-chbatey-bootstrap-port-conflicts February 25, 2021 16:05
Base automatically changed from wip-chbatey-bootstrap-port-conflicts to master February 25, 2021 16:38
@ignasi35 ignasi35 added this to the 1.0.10 milestone Feb 25, 2021
@ignasi35 ignasi35 requested a review from chbatey February 25, 2021 16:49
@ignasi35 ignasi35 self-assigned this Feb 25, 2021
@ignasi35 ignasi35 merged commit 1e0cee3 into master Feb 26, 2021
@ignasi35 ignasi35 deleted the increase-patience-config branch February 26, 2021 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants