Skip to content

SearchRequestTests testRandomVersionSerialization failure #42064

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

Closed
davidkyle opened this issue May 10, 2019 · 1 comment · Fixed by #42069
Closed

SearchRequestTests testRandomVersionSerialization failure #42064

davidkyle opened this issue May 10, 2019 · 1 comment · Fixed by #42069
Labels
:Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI

Comments

@davidkyle
Copy link
Member

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/3525/testReport/junit/org.elasticsearch.action.search/SearchRequestTests/testRandomVersionSerialization/

java.lang.AssertionError: expected:<1557477236737> but was:<1557477236738>
	at __randomizedtesting.SeedInfo.seed([1FCCB2E005F8D472:57C03CA62753C79C]:0)
	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 org.elasticsearch.action.search.SearchRequestTests.testRandomVersionSerialization(SearchRequestTests.java:83)

Does not reproduce

./gradlew :server:test --tests "org.elasticsearch.action.search.SearchRequestTests.testRandomVersionSerialization" -Dtests.seed=1FCCB2E005F8D472 -Dtests.security.manager=true -Dtests.locale=zgh -Dtests.timezone=Africa/Monrovia -Dcompiler.java=12 -Druntime.java=11
@davidkyle davidkyle added :Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI labels May 10, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

jimczi added a commit to jimczi/elasticsearch that referenced this issue May 10, 2019
This commit fixes a test bug that ends up comparing the result of two consecutive calls to System.currentTimeMillis that can be different
on slow CIs.

Closes elastic#42064
jimczi added a commit that referenced this issue May 20, 2019
…on (#42069)

This commit fixes a test bug that ends up comparing the result of two consecutive calls to System.currentTimeMillis that can be different
on slow CIs.

Closes #42064
jimczi added a commit that referenced this issue May 20, 2019
…on (#42069)

This commit fixes a test bug that ends up comparing the result of two consecutive calls to System.currentTimeMillis that can be different
on slow CIs.

Closes #42064
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this issue May 27, 2019
…on (elastic#42069)

This commit fixes a test bug that ends up comparing the result of two consecutive calls to System.currentTimeMillis that can be different
on slow CIs.

Closes elastic#42064
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants