From 238f706b9e1b0d741b058107990842ec888543e9 Mon Sep 17 00:00:00 2001 From: Adam Seitz Date: Mon, 26 Aug 2024 18:27:00 -0400 Subject: [PATCH] Remove unnecessary workaround --- src/test/Main.test.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/test/Main.test.cpp b/src/test/Main.test.cpp index b1e021bc..c80ddeb3 100644 --- a/src/test/Main.test.cpp +++ b/src/test/Main.test.cpp @@ -50,22 +50,6 @@ int main(int argc, char** argv) { "will fail!\n*\n"; } else { loadTestIr(GtirbFilename); - - // Sometimes the Windows file system has delays. If we didn't - // get anything the first time, wait a little and try again. - if (!TestIr) { - error_msgs << "*\n* Failed to load pre-build GTIRB file (1st try): " - << GtirbFilename << "\n"; - error_msgs << "* Will retry after short wait\n*\n"; - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); - loadTestIr(GtirbFilename); - } - - if (!TestIr) { - error_msgs << "*\n* Failed to load pre-built GTIRB file: " - << GtirbFilename << "\n"; - error_msgs << "* Cross-process tests will fail!\n*\n"; - } } ::testing::InitGoogleTest(&argc, argv);