MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / parallel_query

Function parallel_query

test/api/api_test.cpp:35–39  ·  view source on GitHub ↗

The following two tests are disabled in single-threaded mode because they require multiple threads to run.

Source from the content-addressed store, hash-verified

33// The following two tests are disabled in single-threaded mode because they
34// require multiple threads to run.
35static void parallel_query(Connection* conn) {
36 for (auto i = 0u; i < 100; ++i) {
37 assertMatchPersonCountStar(conn);
38 }
39}
40
41TEST_F(ApiTest, ParallelQuerySingleConnect) {
42 const auto numThreads = 20u;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected