Merge "Sleep one second after connect." into pie-vts-dev
am: e1704f3fd6
Change-Id: I426c3cc7a90e8c40bbf99e0f2104ca9431bb2423
This commit is contained in:
commit
e3c3d56907
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue