supplicant(vts): Restart supplicant after all the test

Bug: 70346098
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_1Target -l INFO`

Change-Id: I0bf1a5b96a9e8aad71577f3247c306d4ccc8ae18
This commit is contained in:
Roshan Pius 2018-01-08 12:49:50 -08:00
parent a5f9f8b14f
commit 1a424095bf
2 changed files with 2 additions and 3 deletions

View file

@ -25,8 +25,7 @@ class SupplicantHidlEnvironment : public ::testing::Environment {
virtual void SetUp() override {
stopSupplicant();
}
virtual void TearDown() override {
}
virtual void TearDown() override { startSupplicantAndWaitForHidlService(); }
};
int main(int argc, char** argv) {

View file

@ -23,7 +23,7 @@
class SupplicantHidlEnvironment : public ::testing::Environment {
public:
virtual void SetUp() override { stopSupplicant(); }
virtual void TearDown() override {}
virtual void TearDown() override { startSupplicantAndWaitForHidlService(); }
};
int main(int argc, char** argv) {