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

Commit 2b197587 authored by Taesu Lee's avatar Taesu Lee
Browse files

Fix testSetupDataCall failure



com.android.internal.telephony.RILTest#testSetupDataCall: FAILED (148ms)

STACKTRACE:
junit.framework.AssertionFailedError: expected:<123123> but was:<238534>
        at junit.framework.Assert.fail(Assert.java:50)
        at junit.framework.Assert.failNotEquals(Assert.java:287)
        at junit.framework.Assert.assertEquals(Assert.java:67)
        at junit.framework.Assert.assertEquals(Assert.java:199)
        at junit.framework.Assert.assertEquals(Assert.java:205)
        at com.android.internal.telephony.RILTest.testSetupDataCall
(RILTest.java:1869)

Test: atest RILTest

Change-Id: I7eadffb69e769a06e6ae5ada53a50c767c45e4e3
Signed-off-by: default avatarTaesu Lee <taesu82.lee@samsung.com>
parent 43dd2323
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1822,7 +1822,6 @@ public class RILTest extends TelephonyTest {
    }

    @Test
    @FlakyTest
    public void testSetupDataCall() throws Exception {
        DataProfile dp = new DataProfile.Builder()
                .setProfileId(PROFILE_ID)
@@ -1866,7 +1865,9 @@ public class RILTest extends TelephonyTest {
        assertEquals(APN_ENABLED, dpi.enabled);
        assertEquals(SUPPORTED_APNT_YPES_BITMAK, dpi.supportedApnTypesBitmap);
        assertEquals(ROAMING_PROTOCOL, ApnSetting.getProtocolIntFromString(dpi.protocol));
        assertEquals(BEARER_BITMASK, dpi.bearerBitmap);
        assertEquals(
                BEARER_BITMASK,
                ServiceState.convertBearerBitmaskToNetworkTypeBitmask(dpi.bearerBitmap >> 1));
        assertEquals(MTU, dpi.mtu);
    }