Community
Participate
Working Groups
The test was failing, because it was blocked while calling RemoteUiService.modelExec(Runnable, boolean). If the call was non-blocking you got an error msg saying "Problem while retrieving Gerrit review.: Not Found null," which means that the connector was unable open a review from Gerrit 2.6 (see bug 395059). The test uses a hard-coded [1] fixture pointing to git.eclipse.org [2]. "I'd be helpful to provision a Gerrit instance on the test server that didn't rely on HTTP authentication but also allowed anonymous access so we don't have to rely on Eclipse.org for testing." [3]. Until that happens we should disable the test as Hudson saying -1 for each review isn't very helpful and it makes spotting a real test regression damn hard. [1] https://git.eclipse.org/c/mylyn/org.eclipse.mylyn.reviews.git/tree/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/ui/GerritUrlHandlerTest.java#n52 [2] https://git.eclipse.org/c/mylyn/org.eclipse.mylyn.reviews.git/tree/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/support/GerritFixture.java#n24 [3] bug 411052 comment 29
Review for disabling the test for the time being: https://git.eclipse.org/r/#/c/14414/
Pushed two reviews to add a test fixture that supports anonymous access and a change for the test to use that: 14504: update Gerrit repositories to 2.4.4, 2.5.6, 2.6.1, 2.7-rc2, https://git.eclipse.org/r/#/c/14504/ 14531: re-enable GerritUrlHandlerTest.testOpenUrl() test, https://git.eclipse.org/r/#/c/14531/
The change was merged.