You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/08/19 04:32:00 UTC
[jira] [Created] (KARAF-5875) JpaExampleTest is flacky
Jean-Baptiste Onofré created KARAF-5875:
-------------------------------------------
Summary: JpaExampleTest is flacky
Key: KARAF-5875
URL: https://issues.apache.org/jira/browse/KARAF-5875
Project: Karaf
Issue Type: Test
Components: karaf-test
Affects Versions: 4.2.1
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 4.2.2
{{JpaExampleTest}} sometimes fails with:
{code}
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 40.928 s <<< FAILURE! - in org.apache.karaf.itests.examples.JpaExampleTest
[ERROR] test(org.apache.karaf.itests.examples.JpaExampleTest) Time elapsed: 35.118 s <<< FAILURE!
java.lang.AssertionError:
Should contain 'AF520' but was : ID │ Flight │ Customer
───┼────────┼─────────
at org.apache.karaf.itests.examples.JpaExampleTest.testCommand(JpaExampleTest.java:74)
at org.apache.karaf.itests.examples.JpaExampleTest.test(JpaExampleTest.java:49)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] JpaExampleTest.test:49->testCommand:74->KarafTestSupport.assertContains:652 Should contain 'AF520' but was : ID │ Flight │ Customer
───┼────────┼─────────
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
{code}
That's probably a race condition in the commands chain. I will fix that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)