mirror of https://github.com/apache/jclouds.git
cloudwatch free interval is 5m not 1m
This commit is contained in:
parent
dadd4f6515
commit
4d919ce14e
|
@ -159,8 +159,8 @@ public class AWSEC2ComputeServiceLiveTest extends EC2ComputeServiceLiveTest {
|
|||
ListenableFuture<ExecResponse> future = client.submitScriptOnNode(first.getId(), Statements
|
||||
.exec("while true; do true; done"), runAsRoot(false).nameTask("cpuSpinner"));
|
||||
|
||||
// monitoring granularity must be at least 60 seconds, so lets make sure we have data.
|
||||
Thread.sleep(TimeUnit.MILLISECONDS.convert(61, TimeUnit.SECONDS));
|
||||
// monitoring granularity for free tier is 5 minutes, so lets make sure we have data.
|
||||
Thread.sleep(TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES));
|
||||
|
||||
// stop the spinner
|
||||
future.cancel(true);
|
||||
|
|
Loading…
Reference in New Issue