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

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

Change-Id: I426c3cc7a90e8c40bbf99e0f2104ca9431bb2423
parents cbeda283 e1704f3f
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);
}

/*