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

Commit 4c7c64e7 authored by Sunil Ravi's avatar Sunil Ravi
Browse files

wifi: Added 2 seconds wait time in RTT tests

Added 2 seconds delay in RTT tests. This helps drivers finish the
current test and process the next test.

Bug: 175605811
Test: VTS test - VtsHalWifiRttV1_4TargetTest
Change-Id: I3bb719b5b75ba960913bd405b2c8a41047689682
parent 5ac252ba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -191,6 +191,8 @@ TEST_P(WifiRttControllerHidlTest, Request2SidedRangeMeasurement) {
    const auto& status =
        HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_4, cmdId, configs);
    EXPECT_EQ(WifiStatusCode::SUCCESS, status.code);
    // sleep for 2 seconds to wait for driver/firmware to complete RTT
    sleep(2);
}
/*
 * rangeRequest_1_4
@@ -242,6 +244,8 @@ TEST_P(WifiRttControllerHidlTest, RangeRequest_1_4) {
    const auto& status =
        HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_4, cmdId, configs);
    EXPECT_EQ(WifiStatusCode::SUCCESS, status.code);
    // sleep for 2 seconds to wait for driver/firmware to complete RTT
    sleep(2);
}

/*