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

Commit ed62130b 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

Change-Id: Ic8322a888f04dfa29bca109f5dc43f6978021da5
parents e9100c8b e3c3d569
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);
}

/*