> + public SoftLayerComputeServiceContextLiveTest() {
> + provider = "softlayer";
> + }
> +
> + @Test
> + public void testLaunchClusterWithMinDisk() throws RunNodesException {
> + int numNodes = 1;
> + final String name = "node";
> +
> + ComputeServiceContext context =
> ContextBuilder.newBuilder("softlayer").credentials(identity, credential)
> + .modules(ImmutableSet.of(new SLF4JLoggingModule(),
> + new SshjSshClientModule()))
> + .build(ComputeServiceContext.class);
> +
> + for(Image image : context.getComputeService().listImages()) {
> + System.out.println(image);
Even in tests, use the loggers. Jclouds has a TestNG output listener and no
other pieces should directly print to the standard output.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r10452921