Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59363d20 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Increase test bg thread timeout

Flag: None
Bug: 317510775
Test: atest PluginInstanceTest
Change-Id: I1765a1c4dffac5516973a670206c17606fca3e5e
parent de1c847c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ public class PluginInstanceTest extends SysuiTestCase {
        AtomicBoolean isBgThreadFailed = new AtomicBoolean(false);
        Thread bgThread = new Thread(() -> {
            assertTrue(getLock(unloadLock, 10));
            assertTrue(getLock(loadLock, 3000)); // Wait for the foreground thread
            assertTrue(getLock(loadLock, 4000)); // Wait for the foreground thread
            assertNotNull(mPluginInstance.getPlugin());
            // Attempt to delete the plugin, this should block until the load completes
            mPluginInstance.unloadPlugin();