diff --git a/test/Window/WindowBase.test.cpp b/test/Window/WindowBase.test.cpp index ab910091e..6bfccba6f 100644 --- a/test/Window/WindowBase.test.cpp +++ b/test/Window/WindowBase.test.cpp @@ -196,7 +196,10 @@ TEST_CASE("[Window] sf::WindowBase", runDisplayTests()) windowBase.setMinimumSize(sf::Vector2u(200, 300)); } - SECTION("handleEvents()") + // Test for compilation but do not run. This code sometimes hangs indefinitely + // when running on the BuildBot CI pipeline. Because it contains no + // assertions we have nothing to gain by running it anyways + (void)[] { sf::WindowBase windowBase(sf::VideoMode({360, 240}), "WindowBase Tests"); @@ -211,5 +214,5 @@ TEST_CASE("[Window] sf::WindowBase", runDisplayTests()) // Should compile if user provides both a specific handler and a catch-all windowBase.handleEvents([](const sf::Event::Closed&) {}, [](const auto&) {}); - } + }; }