Merge "Sleep one second after connect." into pie-vts-dev

am: e1704f3fd6

Change-Id: I426c3cc7a90e8c40bbf99e0f2104ca9431bb2423
This commit is contained in:
sqian 2019-03-13 09:58:51 -07:00 committed by android-build-merger
commit e3c3d56907

View file

@ -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);
}
/*