Branch: refs/heads/master Home: https://github.com/jenkinsci/dockerhub-notification-plugin Commit: a017df6dd829698d79a3ed325547b6460a1916a2 https://github.com/jenkinsci/dockerhub-notification-plugin/commit/a017df6dd829698d79a3ed325547b6460a1916a2 Author: James Nord <jtn...@users.noreply.github.com> Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths: M src/test/java/org/jenkinsci/plugins/registry/notification/CoordinatorTest.java Log Message: ----------- Fix flakyness in the test. The flakiness was easy to observe when run with a jenkins version of the upcoming 2.277 LTS and would fail with: Expected: (a collection with size <2> and iterable over [(hasProperty("job", sameInstance(<hudson.model.FreeStyleProject@6658650a[test0]>)) and hasProperty("run", sameInstance(<test0 #1>))), (hasProperty("job", sameInstance(<hudson.model.FreeStyleProject@3c24171[test1]>)) and hasProperty("run", sameInstance(null)))] in any order) but: a collection with size <2> collection size was <1> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.jenkinsci.plugins.registry.notification.CoordinatorTest.testTwoTriggered(CoordinatorTest.java:98) Commit: ab0ebf58c64908f95ba4dbf649d89e42911888dc https://github.com/jenkinsci/dockerhub-notification-plugin/commit/ab0ebf58c64908f95ba4dbf649d89e42911888dc Author: Robert Sandell <rsand...@cloudbees.com> Date: 2021-03-02 (Tue, 02 Mar 2021) Changed paths: M src/test/java/org/jenkinsci/plugins/registry/notification/CoordinatorTest.java Log Message: ----------- Merge pull request #26 from jtnord/fix-flaky-CoordinatorTest Fix flakyness in the test. Compare: https://github.com/jenkinsci/dockerhub-notification-plugin/compare/4cd2b195aaac...ab0ebf58c649 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/dockerhub-notification-plugin/push/refs/heads/master/4cd2b1-ab0ebf%40github.com.