diff --git a/test/capsule_capsule.cpp b/test/capsule_capsule.cpp
index d59784e5a4c8bfd5af06f82f19aae27624e97bb1..89cb9f00a01101031fed8aa1316aeecff8f7e16b 100644
--- a/test/capsule_capsule.cpp
+++ b/test/capsule_capsule.cpp
@@ -66,7 +66,11 @@ BOOST_AUTO_TEST_CASE(collision_capsule_capsule_trivial)
   CollisionGeometryPtr_t s1 (new Sphere (radius));
   CollisionGeometryPtr_t s2 (new Sphere (radius));
 
-  int num_tests = 1e6;
+  #ifndef NDEBUG
+    int num_tests = 1e3;
+  #else
+    int num_tests = 1e6;
+  #endif
   
   Transform3f tf1;
   Transform3f tf2;
@@ -106,8 +110,11 @@ BOOST_AUTO_TEST_CASE(collision_capsule_capsule_aligned)
   
   CollisionGeometryPtr_t c1 (new Capsule (radius, length));
   CollisionGeometryPtr_t c2 (new Capsule (radius, length));
-
+#ifndef NDEBUG
+  int num_tests = 1e3;
+#else
   int num_tests = 1e6;
+#endif
   
   Transform3f tf1;
   Transform3f tf2;