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

[Testing] DocumentPredicateTest periodically fails #139

Closed
dsukhoroslov opened this issue Jan 4, 2018 · 1 comment
Closed

[Testing] DocumentPredicateTest periodically fails #139

dsukhoroslov opened this issue Jan 4, 2018 · 1 comment
Assignees

Comments

@dsukhoroslov
Copy link
Owner

dsukhoroslov commented Jan 4, 2018

looks like race conditions:

Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 13.285 sec <<< FAILURE! - in com.bagri.server.hazelcast.predicate.DocumentPredicateTest
testLimitPredicate(com.bagri.server.hazelcast.predicate.DocumentPredicateTest)  Time elapsed: 0.09 sec  <<< FAILURE!
java.lang.AssertionError: expected:<15> but was:<5>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at com.bagri.server.hazelcast.predicate.DocumentPredicateTest.testLimitPredicate(DocumentPredicateTest.java:113)

testCollectionPredicate(com.bagri.server.hazelcast.predicate.DocumentPredicateTest)  Time elapsed: 0.07 sec  <<< FAILURE!
java.lang.AssertionError: expected:<100> but was:<44>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at com.bagri.server.hazelcast.predicate.DocumentPredicateTest.testCollectionPredicate(DocumentPredicateTest.java:104)

testAttributePredicate(com.bagri.server.hazelcast.predicate.DocumentPredicateTest)  Time elapsed: 0.068 sec  <<< FAILURE!
java.lang.AssertionError: expected:<23> but was:<9>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at com.bagri.server.hazelcast.predicate.DocumentPredicateTest.testAttributePredicate(DocumentPredicateTest.java:95)

from IDE the same test usualy pass

@dsukhoroslov dsukhoroslov self-assigned this Jan 5, 2018
@dsukhoroslov dsukhoroslov added this to the Maintenance release 1.2 milestone Jan 5, 2018
@dsukhoroslov
Copy link
Owner Author

fixed

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

No branches or pull requests

1 participant