Simplified latch, which are now initialized to 1 instead of 11

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1393309 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/test/java/org/apache/felix/scr/integration/components/felix3680/Main.java b/scr/src/test/java/org/apache/felix/scr/integration/components/felix3680/Main.java
index 64c2ec9..e357a0f 100644
--- a/scr/src/test/java/org/apache/felix/scr/integration/components/felix3680/Main.java
+++ b/scr/src/test/java/org/apache/felix/scr/integration/components/felix3680/Main.java
@@ -79,13 +79,11 @@
                         {
                             //_logService.log(LogService.LOG_INFO, "enabling component " + _componentNames[i]);
                             _ctx.enableComponent(_componentNames[i]);
-                            _enabledLatch.countDown();
                         }
                         else
                         {
                             //_logService.log(LogService.LOG_INFO, "disabling component " + _componentNames[i]);
                             _ctx.disableComponent(_componentNames[i]);
-                            _disabledLatch.countDown();
                         }
                     }
                 });
@@ -170,13 +168,9 @@
         int loop = 0;
         while (_running)
         {
-            ++loop;
-            if ((loop % 100) == 0)
-            {
-                _logService.log(LogService.LOG_WARNING, "Performed " + loop + " tests.");
-            }
-            _enabledLatch = new CountDownLatch(11);
-            _disabledLatch = new CountDownLatch(11);
+            _logService.log(LogService.LOG_WARNING, "Performed " + loop + " tests.");            
+            _enabledLatch = new CountDownLatch(1);
+            _disabledLatch = new CountDownLatch(1);
 
             EnableManager manager =
                     new EnableManager(new String[] { "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" });