You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2016/01/18 17:28:58 UTC

Re: [jclouds-labs] JCLOUDS-1047: Fix ProfitBricks compute service live tests (#224)

Do we have any progress here? To put together the simplest test possible, could you try running something like the following:

```java
NodeMetadata node = Iterables.getOnlyElement(compute.createNodesInGroup("tasks", 1, template));
ListenableFuture<ExecResponse> future = compute.submitScriptOnNode(node.getId(), "sleep 300", nameTask("sleeper").runAsRoot(false));

checkState(!future.isDone(), "future.isDone()");
future.cancel(true);
checkState(future.isCancelled(), "future.isCancelled()");

```

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/224#issuecomment-172577452