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

Commit 16e12d10 authored by sqian's avatar sqian Committed by android-build-merger
Browse files

Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3f am: e3c3d569

am: ed62130b

Change-Id: Ib08c6a74d398987440408fd7db7e46f59295624e
parents 8e501a7d ed62130b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@ TEST_F(SapHidlTest, connectReq) {
    sap->connectReq(token, maxMsgSize);
    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(sapCb->sapResponseToken, token);

    // Modem side need time for connect to finish. Adding a waiting time to prevent
    // disconnect being requested right after connect request.
    sleep(1);
}

/*