Avoid watchdog timeout in dEQP-Vk.api.external.*.export_multiple_times_*
authorAitor Camacho <aitor@lunarg.com>
Fri, 10 Mar 2023 16:41:36 +0000 (17:41 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Thu, 23 Mar 2023 17:00:05 +0000 (17:00 +0000)
Mentioned tests now take longer than watchdog's time limit for the interval.

Affects:
dEQP-VK.api.external.*.export_multiple_times_*

Components: Vulkan
VK-GL-CTS issue: 4331

Change-Id: I81abe9a30945cf2cfe4feb460f66a6dcdedbafcd

external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp

index 4c0ed0b..2c82482 100644 (file)
@@ -1418,6 +1418,9 @@ tcu::TestStatus testSemaphoreMultipleExports (Context&                                    context,
                {
                        NativeHandle handle;
 
+                       // Need to touch watchdog due to how long one iteration takes
+                       context.getTestContext().touchWatchdog();
+
                        if (transference == TRANSFERENCE_COPY)
                        {
                                submitAtomicCalculationsAndGetSemaphoreNative(context, vkd, *device, alloc, queue, queueFamilyIndex, *semaphore, config.externalType, handle);
@@ -2487,6 +2490,9 @@ tcu::TestStatus testFenceMultipleExports (Context&                                context,
                {
                        NativeHandle handle;
 
+                       // Need to touch watchdog due to how long one iteration takes
+                       context.getTestContext().touchWatchdog();
+
                        if (transference == TRANSFERENCE_COPY)
                        {
                                submitAtomicCalculationsAndGetFenceNative(context, vkd, *device, alloc, queue, queueFamilyIndex, *fence, config.externalType, handle, exportNdx == 0 /* expect fence to be signaled after first pass */);