Revert "Touch watchdog during object cleanup in max_concurrent tests"
authorPyry Haulos <phaulos@google.com>
Mon, 16 May 2016 21:26:02 +0000 (14:26 -0700)
committerPyry Haulos <phaulos@google.com>
Mon, 16 May 2016 21:33:06 +0000 (14:33 -0700)
This reverts commit 9bd29e9ddec5c2404fd26ec0676422bf8b9eddcd.

Bug: 28436275
Change-Id: Ia3396445f0d1174559ab7d79aa1ccea3c27fe4b4

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

index 29221ca..e86d42a 100644 (file)
@@ -2119,16 +2119,6 @@ tcu::TestStatus createMaxConcurrentTest (Context& context, typename Object::Para
                        context.getTestContext().touchWatchdog();
        }
 
-       // Destroy objects one by one and touch watchdog periodically as
-       // cleaning up resources is very costly on certain implementations.
-       for (deUint32 ndx = 0; ndx < numObjects; ndx++)
-       {
-               objects[ndx].clear();
-
-               if ((ndx > 0) && ((ndx % watchdogInterval) == 0))
-                       context.getTestContext().touchWatchdog();
-       }
-
        objects.clear();
 
        return tcu::TestStatus::pass("Ok");