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

Commit 2614d2ff authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Automerger Merge Worker
Browse files

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

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

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2916945



Change-Id: I2c1ffbf844ea506bf64ea4c43afc224d603a3076
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f58b772d 360bcfa9
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());
    }