From f459baf3f4db1ff295d11aa2f0e7b93a17c563db Mon Sep 17 00:00:00 2001 From: Bryan B Date: Tue, 9 Jan 2024 10:06:31 -0800 Subject: [PATCH] Disable OverBudgetAsync on MSVC builder. (#967) --- src/tests/end2end/D3D12ResidencyManagerTests.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/end2end/D3D12ResidencyManagerTests.cpp b/src/tests/end2end/D3D12ResidencyManagerTests.cpp index 02238e8a..23359bd3 100644 --- a/src/tests/end2end/D3D12ResidencyManagerTests.cpp +++ b/src/tests/end2end/D3D12ResidencyManagerTests.cpp @@ -696,6 +696,11 @@ TEST_F(D3D12ResidencyManagerTests, OverBudget) { // Keeps allocating until it goes over the OS provided budget. TEST_F(D3D12ResidencyManagerTests, OverBudgetAsync) { + // TODO: Figure out why MSVC occasionally fails. +#if defined(GPGMM_COMPILER_MSVC) + GPGMM_SKIP_TEST_IF(true); +#endif + constexpr uint64_t kBudgetIsDeterminedByOS = 0; RESIDENCY_MANAGER_DESC residencyDesc = CreateBasicResidencyDesc(kBudgetIsDeterminedByOS); residencyDesc.Flags |= RESIDENCY_MANAGER_FLAG_ALLOW_BACKGROUND_BUDGET_UPDATES;