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

[TEST-FIX] ConditionTest.testAwaitUntil_whenFail #4372

Closed
bilalyasar opened this issue Dec 31, 2014 · 2 comments · Fixed by #8268
Closed

[TEST-FIX] ConditionTest.testAwaitUntil_whenFail #4372

bilalyasar opened this issue Dec 31, 2014 · 2 comments · Fixed by #8268
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Milestone

Comments

@bilalyasar
Copy link
Contributor

java.lang.Exception: test timed out after 60000 milliseconds
    at java.lang.Object.wait(Native Method)
    at com.hazelcast.spi.impl.BasicInvocationFuture.pollResponse(BasicInvocationFuture.java:265)
    at com.hazelcast.spi.impl.BasicInvocationFuture.waitForResponse(BasicInvocationFuture.java:216)
    at com.hazelcast.spi.impl.BasicInvocationFuture.get(BasicInvocationFuture.java:193)
    at com.hazelcast.spi.impl.BasicInvocationFuture.get(BasicInvocationFuture.java:173)
    at com.hazelcast.concurrent.lock.ConditionImpl.doAwait(ConditionImpl.java:89)
    at com.hazelcast.concurrent.lock.ConditionImpl.await(ConditionImpl.java:80)
    at com.hazelcast.concurrent.lock.ConditionImpl.awaitUntil(ConditionImpl.java:110)
    at com.hazelcast.concurrent.lock.ConditionTest.testAwaitUntil_whenFail(ConditionTest.java:539)

https://hazelcast-l337.ci.cloudbees.com/job/Hazelcast-3.x-nightly/com.hazelcast$hazelcast/418/testReport/junit/com.hazelcast.concurrent.lock/ConditionTest/testAwaitUntil_whenFail/

@mesutcelik mesutcelik changed the title [TEST-FAILURE] ConditionTest.testAwaitUntil_whenFail [TEST-FIX] ConditionTest.testAwaitUntil_whenFail Feb 19, 2015
@gurbuzali gurbuzali modified the milestones: 3.6, 3.5 May 12, 2015
@gurbuzali
Copy link
Contributor

related to #2272

@gurbuzali gurbuzali modified the milestones: Backlog, 3.6 Oct 27, 2015
jerrinot added a commit to jerrinot/hazelcast that referenced this issue May 29, 2016
the await() method interpret negative values as infinite timeout.
This is undesirable when duration is calculated from a provided
Date - as a pause between Data creation and duration calculation
may result in a negative duration -> infinite waiting.

See hazelcast#3262 for further discussion on how to interpret negative duration.

Fixes hazelcast#4372
jerrinot added a commit to jerrinot/hazelcast that referenced this issue May 31, 2016
the await() method interpret negative values as infinite timeout.
This is undesirable when duration is calculated from a provided
Date - as a pause between Data creation and duration calculation
may result in a negative duration -> infinite waiting.

See hazelcast#3262 for further discussion on how to interpret negative duration.

Fixes hazelcast#4372
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants