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

Commit 1a424095 authored by Roshan Pius's avatar Roshan Pius
Browse files

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
parent a5f9f8b1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {
+1 −1
Original line number Diff line number Diff line
@@ -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) {