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

Cleaning up HeadersJMSIT and added verify to JMSTopicPublisherTest #668

Closed
wants to merge 3 commits into from

Conversation

ajs6f
Copy link
Contributor

@ajs6f ajs6f commented Nov 24, 2014

@ajs6f ajs6f force-pushed the UseJUnit@TestTimeoutAttribute branch from aca8801 to 0ee0e10 Compare November 24, 2014 22:55
@ajs6f ajs6f force-pushed the UseJUnit@TestTimeoutAttribute branch from 0ee0e10 to 9a4f0d1 Compare December 16, 2014 15:44
public void testRemoval() throws RepositoryException, InterruptedException,
JMSException {
private void awaitMessageOrFail(final String id, final String eventType) {
await().pollInterval(ONE_SECOND).until(new Callable<Boolean>() {
Copy link

Choose a reason for hiding this comment

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

If the pollInterval is 1sec and the timeout (which starts before the polling) is 2secs, it would seem that effectively the wait will just be a single second. Should we adjust either the polling interval or the timeout so the polling gets at least two tries?

Longer timeout.
@awoods
Copy link

awoods commented Jan 12, 2015

Resolved with: 41e3fb8

@awoods awoods closed this Jan 12, 2015
@awoods awoods deleted the UseJUnit@TestTimeoutAttribute branch January 12, 2015 18:59
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.

None yet

2 participants