From ab8a7e452c9b248bcface4e6b1a9d4a3691c43ab Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 4 Apr 2011 17:00:28 -0700 Subject: [PATCH] tuning so that we can reliably test multiple page lists in clj --- .../java/org/jclouds/blobstore/config/TransientBlobStore.java | 2 +- blobstore/src/test/clojure/org/jclouds/blobstore_test.clj | 2 +- project/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blobstore/src/main/java/org/jclouds/blobstore/config/TransientBlobStore.java b/blobstore/src/main/java/org/jclouds/blobstore/config/TransientBlobStore.java index 36c8191dbc..a14c71bfd7 100644 --- a/blobstore/src/main/java/org/jclouds/blobstore/config/TransientBlobStore.java +++ b/blobstore/src/main/java/org/jclouds/blobstore/config/TransientBlobStore.java @@ -24,6 +24,6 @@ import java.util.concurrent.TimeUnit; import org.jclouds.blobstore.BlobStore; import org.jclouds.concurrent.Timeout; -@Timeout(duration = 30, timeUnit = TimeUnit.SECONDS) interface TransientBlobStore extends BlobStore { +@Timeout(duration = 2, timeUnit = TimeUnit.MINUTES) interface TransientBlobStore extends BlobStore { } \ No newline at end of file diff --git a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj index 6c3d917b72..02a933a878 100644 --- a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj +++ b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj @@ -79,7 +79,7 @@ (deftest large-container-list-test (let [container-name "test" - total-blobs 10000] + total-blobs 5000] ;; create a container full of blobs (create-container container-name) diff --git a/project/pom.xml b/project/pom.xml index 182cd75c1d..22d16f87b2 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -267,7 +267,7 @@ src/test/clojure - -Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=256m -Xss256k + -Xms128m -Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=256m -Xss256k true true false