From 076f69aa2bc2301e3c93150503d469c02ed2458c Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Mon, 22 May 2017 17:01:24 -0700 Subject: [PATCH] Fixed flaky RenderScript VTS Test Added missing synchronization before context destroy Bug: 38385848 Test: make vts, does not fail with multiple tests Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc --- .../1.0/vts/functional/VtsHalRenderscriptV1_0TargetTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/renderscript/1.0/vts/functional/VtsHalRenderscriptV1_0TargetTest.cpp b/renderscript/1.0/vts/functional/VtsHalRenderscriptV1_0TargetTest.cpp index f505d01629..2670b8d099 100644 --- a/renderscript/1.0/vts/functional/VtsHalRenderscriptV1_0TargetTest.cpp +++ b/renderscript/1.0/vts/functional/VtsHalRenderscriptV1_0TargetTest.cpp @@ -28,6 +28,7 @@ void RenderscriptHidlTest::SetUp() { } void RenderscriptHidlTest::TearDown() { + context->contextFinish(); context->contextDestroy(); }