From 495a6be5cf4aee4170185d3bb744452546eeafef Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Fri, 18 Sep 2026 12:37:07 -0400 Subject: [PATCH] tests: Allow valid Timeout result --- tests/unit/other_positive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/other_positive.cpp b/tests/unit/other_positive.cpp index 069a51b834a..5d1cd914417 100644 --- a/tests/unit/other_positive.cpp +++ b/tests/unit/other_positive.cpp @@ -717,7 +717,7 @@ TEST_F(PositiveOther, GetDeviceFaultReportsWithoutTimeout) { RETURN_IF_SKIP(Init()); uint32_t fault_counts = 0; VkResult result = vk::GetDeviceFaultReportsKHR(device(), 0, &fault_counts, nullptr); - ASSERT_EQ(VK_SUCCESS, result); + ASSERT_TRUE(result == VK_TIMEOUT || result == VK_SUCCESS); ASSERT_EQ(fault_counts, 0); }