return from the run method instead of exiting, when a latch can't be acquired timely.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1393207 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 7429ebb..64c2ec9 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
@@ -189,7 +189,7 @@
                     System.out.println("Did not get A injected timely ... see logs.txt");
                     _logService.log(LogService.LOG_ERROR, "enableLatch TIMEOUT");
                     dumpComponents();
-                    System.exit(1);
+                    return;
                 }
             }
             catch (InterruptedException e)
@@ -204,7 +204,7 @@
                     System.out.println("Could not disable components timely ... see logs.txt");
                     _logService.log(LogService.LOG_ERROR, "disableLatch TIMEOUT");
                     dumpComponents();
-                    System.exit(1);
+                    return;
                 }
             }
             catch (InterruptedException e)