tired of testWeymouthOnline failing internally; added URL parameter ignored by TracTrac to force proxy reload

This commit is contained in:
Axel Uhl committed 2012-05-15 18:04:54 +02:00
1 parent 01f3f491b3
commit caa879f707
1 file changed
+1 -1
@@ -74,7 +74,7 @@ public class ParseTracTracJSONServiceOutputTest {
@Test
public void testWeymouthOnline() throws MalformedURLException, IOException, java.text.ParseException, ParseException, URISyntaxException {
JSONService jsonService = DomainFactory.INSTANCE.parseJSONURL(new URL(
"http://" + TracTracConnectionConstants.HOST_NAME + "/events/event_20110505_SailingTea/jsonservice.php"));
"http://" + TracTracConnectionConstants.HOST_NAME + "/events/event_20110505_SailingTea/jsonservice.php?trickOurProxy=true"));
assertEquals("Academy Tracking 2011", jsonService.getEventName());
List<RaceRecord> races = jsonService.getRaceRecords();
assertTrue(races.size()>=28);