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

[Dialogflow] Flaky test - ITSystemTest.detectIntentTest, ITSystemTest:listContextsTest #10491

Open
zhumin8 opened this issue Mar 6, 2024 · 1 comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@zhumin8
Copy link
Contributor

zhumin8 commented Mar 6, 2024

Test failed in GraalVM JDK 17 Nightly.

See below for the error message, and full log

Failures (2):
  JUnit Vintage:ITSystemTest:detectIntentTest
    MethodSource [className = 'com.google.cloud.dialogflow.v2.it.ITSystemTest', methodName = 'detectIntentTest', methodParameterTypes = '']
    => org.junit.ComparisonFailure: expected:<[test-event-4dd663d7-78b4-4d1c-9929-41a37329bfe0]> but was:<[]>
       org.junit.Assert.assertEquals(Assert.java:117)
       org.junit.Assert.assertEquals(Assert.java:146)
       com.google.cloud.dialogflow.v2.it.ITSystemTest.detectIntentTest(ITSystemTest.java:282)
       [email protected]/java.lang.reflect.Method.invoke([Method.java:568](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk21&q=java/lang/reflect/Method.java:568))
       org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
       org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
       org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
       org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
       org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
       org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
       [...]
  JUnit Vintage:ITSystemTest:listContextsTest
    MethodSource [className = 'com.google.cloud.dialogflow.v2.it.ITSystemTest', methodName = 'listContextsTest', methodParameterTypes = '']
    => org.junit.ComparisonFailure: expected:<...7cbd351578/contexts/[test-context-4df7c3ac]> but was:<...7cbd351578/contexts/[__system_counters__]>
       org.junit.Assert.assertEquals(Assert.java:117)
       org.junit.Assert.assertEquals(Assert.java:146)
       com.google.cloud.dialogflow.v2.it.ITSystemTest.listContextsTest(ITSystemTest.java:293)
       [email protected]/java.lang.reflect.Method.invoke([Method.java:568](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk21&q=java/lang/reflect/Method.java:568))
       org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
       org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
       org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
       org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
       org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
       org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
       [...]
@zhumin8 zhumin8 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants