commit | 967faae7aa28801fb3102ca106a255b188014edf | [log] [tgz] |
---|---|---|
author | Alexander Galazin <alexander.galazin@arm.com> | Thu Sep 05 17:18:55 2019 +0200 |
committer | Alexander Galazin <alexander.galazin@arm.com> | Thu Sep 05 17:18:55 2019 +0200 |
tree | a0f921daba43c342b7ddd60a792c843c959b8b31 | |
parent | 85658530e5627d8ff5bb4e58ee1adfc8a0fb4173 [diff] | |
parent | 6e86b90443a452c79a3e9d04fc3b7539838584a4 [diff] |
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5 Change-Id: I9127426326658bfa984eb90837e731d8a26139c1
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)