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

Commit 9562dcab authored by Hyundo Moon's avatar Hyundo Moon Committed by Gerrit Code Review
Browse files

Merge "Ignore flaky testConnect_whenPolicyIsAllowed_returnsTrue"

parents 171793e4 aa5ec5b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -50,6 +50,7 @@ import org.junit.After;
import org.junit.Assert;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;
@@ -164,6 +165,7 @@ public class PbapClientServiceTest {
        assertThat(mService.connect(mRemoteDevice)).isFalse();
        assertThat(mService.connect(mRemoteDevice)).isFalse();
    }
    }


    @Ignore("b/273396169")
    @Test
    @Test
    public void testConnect_whenPolicyIsAllowed_returnsTrue() {
    public void testConnect_whenPolicyIsAllowed_returnsTrue() {
        int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED;
        int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED;