Merge "wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down" into android10-tests-dev

This commit is contained in:
Treehugger Robot
2021-01-22 01:00:20 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ class HostapdHidlTest : public ::testing::VtsHalHidlTargetTestBase {
virtual void TearDown() override {
HIDL_INVOKE_VOID_WITHOUT_ARGUMENTS(hostapd_, terminate);
// Wait 3 seconds to allow terminate processing before kill hostapd.
sleep(3);
stopHostapd();
}

View File

@@ -53,6 +53,8 @@ class HostapdHidlTest : public ::testing::VtsHalHidlTargetTestBase {
virtual void TearDown() override {
HIDL_INVOKE_VOID_WITHOUT_ARGUMENTS(hostapd_, terminate);
// Wait 3 seconds to allow terminate processing before kill hostapd.
sleep(3);
stopHostapd();
}