libhwbinder_benchmark -= 1 race am: 2fcf57e9fd

Original change: https://android-review.googlesource.com/c/platform/system/libhwbinder/+/1950636

Change-Id: If1e8fb899b30ccdfb1d4e8dfb340613274079688
diff --git a/vts/performance/Benchmark.cpp b/vts/performance/Benchmark.cpp
index f995ec7..87185f5 100644
--- a/vts/performance/Benchmark.cpp
+++ b/vts/performance/Benchmark.cpp
@@ -82,7 +82,6 @@
 }
 
 static void BM_sendVec_passthrough(benchmark::State& state) {
-    // getService automatically retries
     sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */);
     if (service == nullptr) {
         state.SkipWithError("Failed to retrieve benchmark service.");
@@ -94,7 +93,7 @@
 }
 
 static void BM_sendVec_binderize(benchmark::State& state) {
-    // getService automatically retries
+    android::hardware::details::waitForHwService(IBenchmark::descriptor, gServiceName);
     sp<IBenchmark> service = IBenchmark::getService(gServiceName);
     if (service == nullptr) {
         state.SkipWithError("Failed to retrieve benchmark service.");