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

Datastore: Flaky Test: DatastoreSampleApplicationIntegrationTests.runTests #2907

Open
burkedavison opened this issue May 21, 2024 · 0 comments
Labels
priority: p3 type: bug Something isn't working

Comments

@burkedavison
Copy link
Member

Example failure: https://github.com/GoogleCloudPlatform/spring-cloud-gcp/actions/runs/9177555577/job/25235430453

Error: 6:663 [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.65 s <<< FAILURE! -- in com.example.DatastoreSampleApplicationIntegrationTests
Error: 6:663 [ERROR] com.example.DatastoreSampleApplicationIntegrationTests.runTests -- Time elapsed: 2.208 s <<< FAILURE!
org.opentest4j.AssertionFailedError: 
[Verify ASC order] 
Expecting actual:
  []
to contain exactly (and in same order):
  [Singer***singerId='null', firstName='John', lastName='Doe', albums=null, firstBand=null, bands=, personalInstruments=***,
    Singer***singerId='null', firstName='Jane', lastName='Doe', albums=null, firstBand=null, bands=, personalInstruments=***,
    Singer***singerId='null', firstName='Richard', lastName='Roe', albums=null, firstBand=null, bands=, personalInstruments=***]
but could not find the following elements:
  [Singer***singerId='null', firstName='John', lastName='Doe', albums=null, firstBand=null, bands=, personalInstruments=***,
    Singer***singerId='null', firstName='Jane', lastName='Doe', albums=null, firstBand=null, bands=, personalInstruments=***,
    Singer***singerId='null', firstName='Richard', lastName='Roe', albums=null, firstBand=null, bands=, personalInstruments=***]

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at com.example.DatastoreSampleApplicationIntegrationTests.basicTest(DatastoreSampleApplicationIntegrationTests.java:110)
	at com.example.DatastoreSampleApplicationIntegrationTests.runTests(DatastoreSampleApplicationIntegrationTests.java:94)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
@lqiu96 lqiu96 added type: bug Something isn't working priority: p2 labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants