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

Remove the "sleep" calls from the DevMojoIT #1175

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

cescoffier
Copy link
Member

No description provided.

@@ -303,7 +318,10 @@ public void testThatNewBeanAreDiscovered() throws IOException, MavenInvocationEx
.pollDelay(1, TimeUnit.SECONDS)
.atMost(1, TimeUnit.MINUTES).until(() -> getHttpResponse("/app/hello").contains("message"));

sleep();
await()
.pollDelay(1, TimeUnit.SECONDS)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we wait for a much longer maximum time? The tests still fail for me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can extend. Did you figure out a value that works for you?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry that was confusing. 1s works for me, I'm having a different issue: this doesn't trigger at all

I only mentioned to use a higher value as it seems a bit silly to wait maximum 1s with a poll time of 1s, I can see this failing on slower CIs

@Sanne Sanne merged commit a2600cc into quarkusio:master Mar 4, 2019
@Sanne Sanne deleted the features/sleep-is-bad-for-you branch March 4, 2019 16:20
@Sanne
Copy link
Member

Sanne commented Mar 4, 2019

thanks @cescoffier ! Didn't fix the problem I have but it helps me to understand the code 👍 I'll have a look later tonight

@Sanne Sanne added this to the 0.11.0 milestone Mar 4, 2019
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.

3 participants