jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-127 (#32)
Date Mon, 17 Jun 2013 13:30:57 GMT
> @@ -112,7 +120,86 @@ protected void configure() {
>        });
>        PostConstructable postConstructable = i.getInstance(PostConstructable.class);
>        assert postConstructable.isStarted;
> +   }
> +
> +   @Test
> +   void testCloserClosingState() throws InterruptedException {
> +      Injector i = createInjector();

What is this test supposed to test? Simply the sequence of states or also some multi-threaded
stuff? If so, what exactly? Also a [`CountDownLatch`](http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/CountDownLatch.html)
is probably better suited to the handoff than an `AtomicBoolean` with empty loops.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/32/files#r4723775

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message