mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Sleep one second after connect." into pie-vts-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user