Skip to content

Commit

Permalink
Remove unnecessary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjseitz committed Aug 26, 2024
1 parent 2e62c7f commit 238f706
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/test/Main.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 238f706

Please sign in to comment.