You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2023/11/17 13:25:15 UTC

(karaf) branch karaf-4.3.x updated: Update MainLockingTest.java

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch karaf-4.3.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.3.x by this push:
     new a7caf7292d Update MainLockingTest.java
a7caf7292d is described below

commit a7caf7292db25049a5d32d0b47b706456f2d14c5
Author: same8891 <55...@users.noreply.github.com>
AuthorDate: Thu Nov 9 16:11:08 2023 -0600

    Update MainLockingTest.java
    
    (cherry picked from commit 7516c3b15191e8d87eaffb52cb0c90c132f2860c)
---
 main/src/test/java/org/apache/karaf/main/MainLockingTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/src/test/java/org/apache/karaf/main/MainLockingTest.java b/main/src/test/java/org/apache/karaf/main/MainLockingTest.java
index 8a12fd45d2..0b93f7226f 100644
--- a/main/src/test/java/org/apache/karaf/main/MainLockingTest.java
+++ b/main/src/test/java/org/apache/karaf/main/MainLockingTest.java
@@ -187,7 +187,7 @@ public class MainLockingTest {
         FrameworkStartLevel sl = framework.adapt(FrameworkStartLevel.class);
 
         MockLock lock = (MockLock) main.getLock();
-
+        Thread.sleep(1000);
         Assert.assertEquals(100, sl.getStartLevel());
 
         // simulate losing a lock