Merge "Add health storage HAL test configs"
diff --git a/treble/vintf/VtsTrebleVintfTestBase.cpp b/treble/vintf/VtsTrebleVintfTestBase.cpp
index 2c68b19..d7a2897 100644
--- a/treble/vintf/VtsTrebleVintfTestBase.cpp
+++ b/treble/vintf/VtsTrebleVintfTestBase.cpp
@@ -130,10 +130,17 @@
return getRawServiceInternal(fq_name, instance_name, true /* retry */,
false /* getStub */);
});
+ auto max_time = std::chrono::milliseconds(500);
+
+ // TODO(b/114157425): remove once android.hardware.renderscript@1.0-impl.so
+ // dlopen time reduced to normal level
+ if (fq_name == "android.hardware.renderscript@1.0::IDevice") {
+ max_time = std::chrono::seconds(1);
+ }
std::future<sp<IBase>> future = task.get_future();
std::thread(std::move(task)).detach();
- auto status = future.wait_for(std::chrono::milliseconds(500));
+ auto status = future.wait_for(max_time);
if (status != std::future_status::ready) return nullptr;