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

Commit 42f359f9 authored by Robin Jacob's avatar Robin Jacob Committed by Automerger Merge Worker
Browse files

Merge "Add a delay between tests to make them more robust" into rvc-dev am:...

Merge "Add a delay between tests to make them more robust" into rvc-dev am: ad15d6c0 am: c04da2f2 am: 38ae0b1a am: 40598537

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11392730

Change-Id: Iced61f9740134186a762ded78cee641ffcce7f4e
parents be004d1e 40598537
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
#include <chrono>
#include <cstdint>
#include <random>
#include <thread>

using android::sp;
using android::hardware::hidl_vec;
@@ -144,7 +145,10 @@ class FaceHidlTest : public ::testing::TestWithParam<std::string> {
        ASSERT_EQ(Status::OK, static_cast<Status>(ret2));
    }

    void TearDown() override {}
    void TearDown() override {
        // Hack to allow the asynchronous operations to finish on time.
        std::this_thread::sleep_for(std::chrono::milliseconds(250));
    }

    sp<IBiometricsFace> mService;
    sp<FaceCallback> mCallback;