MCPcopy Create free account
hub / github.com/apache/cloudberry / TEST

Function TEST

gpcontrib/gpcloud/test/gpreader_test.cpp:308–317  ·  view source on GitHub ↗

thread functions test with local variables

Source from the content-addressed store, hash-verified

306
307// thread functions test with local variables
308TEST(Common, ThreadFunctions) {
309 // just to test if these two are functional
310 thread_setup();
311 EXPECT_NE((void*)NULL, mutex_buf);
312
313 thread_cleanup();
314 EXPECT_EQ((void*)NULL, mutex_buf);
315
316 EXPECT_NE((uint64_t)0, gpcloud_id_function());
317}

Callers

nothing calls this directly

Calls 3

thread_setupFunction · 0.85
thread_cleanupFunction · 0.85
gpcloud_id_functionFunction · 0.85

Tested by

no test coverage detected