commit | 6e86b90443a452c79a3e9d04fc3b7539838584a4 | [log] [tgz] |
---|---|---|
author | Alexander Galazin <alexander.galazin@arm.com> | Thu Sep 05 17:17:32 2019 +0200 |
committer | Alexander Galazin <alexander.galazin@arm.com> | Thu Sep 05 17:17:32 2019 +0200 |
tree | 2a3d39f15359f5016841a967adf8dc748d50d20e | |
parent | 23d68b549229d92fb782635d4f118f7b13808f80 [diff] | |
parent | 60d9e5b72e87b485cd69d45bfdfc5b042747bf15 [diff] |
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4 Change-Id: Ia899f8486ce88f6fdb54cfb070a7026b815bb25b
diff --git a/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp index 472ef0c..eff193d 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp
@@ -1446,6 +1446,12 @@ return tcu::TestStatus::fail("Out of retries, could not create instance and device"); } + // if the number of allocations the driver makes is large, we may end up + // taking more than the watchdog timeout. touch here to avoid spurious + // failures. + if (failIndex % 128 == 0) + context.getTestContext().touchWatchdog(); + result = vkp.createInstance(&instanceCreateInfo, &allocationCallbacks, &instance); if (result == VK_ERROR_OUT_OF_HOST_MEMORY)