Fix timeout in dEQP-VK.wsi.android test
authorPeter Quayle <peter.quayle@imgtec.com>
Fri, 28 Sep 2018 16:10:04 +0000 (17:10 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sat, 29 Sep 2018 05:51:38 +0000 (01:51 -0400)
Changes in Android P have causes the workload in
dEQP-VK.wsi.android.swapchain.simulate_oom.min_image_count
to increase significantly, leading to timeouts on some platforms.
This is worked around by simply touching the watchdog timer
between cases.

Affects:

dEQP-VK.wsi.android.swapchain.simulate_oom.min_image_count

Components: Vulkan

VK-GL-CTS issue: 1383

Change-Id: If5da804796f85acd3c2b9709a5463951609168dc

external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp

index e1a23f6..8a435fc 100644 (file)
@@ -655,9 +655,9 @@ tcu::TestStatus createSwapchainSimulateOOMTest (Context& context, TestParameters
                                else if (numPassingAllocs == maxAllocs)
                                        results.addResult(QP_TEST_RESULT_QUALITY_WARNING, "Creating swapchain did not succeed, callback limit exceeded");
                        }
-               }
 
-               context.getTestContext().touchWatchdog();
+                       context.getTestContext().touchWatchdog();
+               }
        }
 
        if (!validateAndLog(log, allocationRecorder, 0u))