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

Commit 360bcfa9 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Gerrit Code Review
Browse files

Merge "HapClientTest: Fix flaky test caused by onReceive call after tearDown" into main

parents 38a6e1b6 284ed118
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -380,6 +380,8 @@ public class HapClientTest {

        // Send a connect request
        Assert.assertTrue("Connect expected to succeed", mService.connect(mDevice));

        TestUtils.waitForIntent(TIMEOUT_MS, mIntentQueue.get(mDevice));
    }

    /**
@@ -1045,6 +1047,8 @@ public class HapClientTest {
        // Add state machine for testing dump()
        mService.connect(mDevice);

        TestUtils.waitForIntent(TIMEOUT_MS, mIntentQueue.get(mDevice));

        mService.dump(new StringBuilder());
    }