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 2019/01/25 14:53:00 UTC
[jira] [Updated] (KARAF-5875) JpaExampleTest is flacky
[ https://issues.apache.org/jira/browse/KARAF-5875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-5875:
----------------------------------------
Fix Version/s: (was: 4.2.3)
4.2.4
> JpaExampleTest is flacky
> ------------------------
>
> Key: KARAF-5875
> URL: https://issues.apache.org/jira/browse/KARAF-5875
> Project: Karaf
> Issue Type: Test
> Components: karaf
> Affects Versions: 4.2.1
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: jenkins, test
> Fix For: 4.2.4
>
>
> {{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)