wasn't me :) but yeah np


On Tue, Apr 23, 2013 at 2:19 PM, Andrew Phillips
<notifications@github.com>wrote:

> In
> providers/trmk-ecloud/src/test/java/org/jclouds/trmk/ecloud/TerremarkECloudClientMockTest.java:
>
> > @@ -67,19 +65,17 @@ static TerremarkECloudClient mockTerremarkECloudClient(String uri) {
> >     @Test
> >     public void testLoginSetsContentLength() throws IOException, InterruptedException {
> >        MockWebServer server = new MockWebServer();
> > -      AtomicReference<URL> url = setURLReplacingDispatcher(server);
> > +      server.play();
> > +      server.setDispatcher(replaceURLWithLocalhostPort(server.getPort()));
>
> @adriancole <https://github.com/adriancole> Sorry for chasing you up the
> garden path with the not-quite-tested-enough workaround. Hope you didn't
> lose too much time!
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jclouds/jclouds/pull/1559/files#r3926127>
> .
>