-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fix random failure in WordContributionEventDaoTest #1645
Labels
good first issue
Good for newcomers
Comments
https://github.com/elimu-ai/webapp/actions/runs/7754162700/job/21146934845?pr=1646 09:50:52.[141](https://github.com/elimu-ai/webapp/actions/runs/7754162700/job/21146934845?pr=1646#step:7:142) [main] INFO ai.elimu.dao.WordContributionEventDaoTest - testReadMostRecentPerWord
09:50:52.141 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsBefore: 0
09:50:52.157 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsAfter: 1
09:50:52.172 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsAfter: 2
09:50:52.188 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsAfter: 3
09:50:52.188 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - testReadMostRecent
09:50:52.204 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsBefore: 3
09:50:52.219 [main] INFO ai.elimu.dao.WordContributionEventDaoTest - numberOfWordContributionEventsAfter: 4
Error: Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.109 s <<< FAILURE! - in ai.elimu.dao.WordContributionEventDaoTest
Error: testReadMostRecentPerWord(ai.elimu.dao.WordContributionEventDaoTest) Time elapsed: 0.063 s <<< FAILURE!
java.lang.AssertionError:
Expected: is <2>
but: was <3>
at ai.elimu.dao.WordContributionEventDaoTest.testReadMostRecentPerWord(WordContributionEventDaoTest.java:122) |
9 tasks
jo-elimu
added a commit
that referenced
this issue
Jul 2, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 2, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 2, 2024
…elimu-ai/webapp into #1645-wordcontribution-dao-test
jo-elimu
added a commit
that referenced
this issue
Jul 3, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 4, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 4, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
Handle more than 10 items. refs #1645
jo-elimu
added a commit
that referenced
this issue
Jul 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The unit test at
WordContributionEventDaoTest
fails randomly, so it probably has something to do with the random execution order of the tests.https://github.com/elimu-ai/webapp/actions/runs/7737336544/job/21096137074?pr=1643
Relates to #1647
The text was updated successfully, but these errors were encountered: