Author: Kadir Cetinkaya Date: 2022-08-23T18:18:17+02:00 New Revision: 552b59b9e69fe1cb2b1ee0cb49cf8376a3dc0869
URL: https://github.com/llvm/llvm-project/commit/552b59b9e69fe1cb2b1ee0cb49cf8376a3dc0869 DIFF: https://github.com/llvm/llvm-project/commit/552b59b9e69fe1cb2b1ee0cb49cf8376a3dc0869.diff LOG: [clangd] Bump timeout for a flaky test This has been failing on some build bots with timeout, increasing it to 5 seconds. Added: Modified: clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp b/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp index fd56b0d75ae20..4e95fcfea91c1 100644 --- a/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp +++ b/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp @@ -264,7 +264,7 @@ TEST_F(TUSchedulerTests, Debounce) { Notification N; updateWithDiags(S, Path, "auto (timed out)", WantDiagnostics::Auto, [&](std::vector<Diag>) { N.notify(); }); - EXPECT_TRUE(N.wait(timeoutSeconds(1))); + EXPECT_TRUE(N.wait(timeoutSeconds(5))); // Once we start shutting down the TUScheduler, this one becomes a dead write. updateWithDiags(S, Path, "auto (discarded)", WantDiagnostics::Auto, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits