Skip to content

Commit

Permalink
[clangd] Fix a data race in RecordsLatencies test
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet committed May 9, 2020
1 parent fccd796 commit 84cbd47
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -156,7 +156,7 @@ TEST_F(LSPTest, RecordsLatencies) {
llvm::StringLiteral MethodName = "method_name";
EXPECT_THAT(Tracer.takeMetric("lsp_latency", MethodName), testing::SizeIs(0));
llvm::consumeError(Client.call(MethodName, {}).take().takeError());
Client.sync();
stop();
EXPECT_THAT(Tracer.takeMetric("lsp_latency", MethodName), testing::SizeIs(1));
}
} // namespace
Expand Down

0 comments on commit 84cbd47

Please sign in to comment.