DO NOT MERGE Add sleep(3) after stopSupplicant when VtsHalWifiSupplicant

[root cause  ] VtsHalWifiSupplicant first stop supplicant, but framework will restart supplicant, the test will fail, according to Partner IssueTracker 169498893, AOSP suggest to add a blocking
[changes     ] add sleep(3)
[side effects]no
[self test   ]:yes
[download normally]:yes
[power on/off normally]:yes
[do common repository/branch inspection]:no
[is there dependence]:no
[confirm dependent commit]:no
[board]:unisoc
[test case]:VtsHalWifiSupplicant test
[reviewers   ] chao.meng
[change_type ] feature_bugfix
[tag_product ] common

Bug: 169498893
Change-Id: I7990226d346a3444f606951386e7c223fc87f98f
This commit is contained in:
chao.meng
2020-10-28 14:45:24 +08:00
committed by Robert Chou
parent a5f27a462e
commit ca07893589

View File

@@ -38,6 +38,7 @@ extern WifiSupplicantHidlEnvironment* gEnv;
class SupplicantHidlTest : public ::testing::VtsHalHidlTargetTestBase {
public:
virtual void SetUp() override {
sleep(3);
startSupplicantAndWaitForHidlService();
supplicant_ = getSupplicant_1_1();
ASSERT_NE(supplicant_.get(), nullptr);