MCPcopy Create free account
hub / github.com/apache/impala / ShutdownForTesting

Method ShutdownForTesting

be/src/statestore/statestore.cc:1804–1812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1802}
1803
1804void Statestore::ShutdownForTesting() {
1805 CHECK(TestInfo::is_be_test()) << "Only valid to call in backend tests.";
1806 subscriber_topic_update_threadpool_.Shutdown();
1807 subscriber_priority_topic_update_threadpool_.Shutdown();
1808 subscriber_heartbeat_threadpool_.Shutdown();
1809 subscriber_topic_update_threadpool_.Join();
1810 subscriber_priority_topic_update_threadpool_.Join();
1811 subscriber_heartbeat_threadpool_.Join();
1812}
1813
1814int64_t Statestore::FailedExecutorDetectionTimeMs() {
1815 return FLAGS_statestore_max_missed_heartbeats * FLAGS_statestore_heartbeat_frequency_ms;

Callers 3

TESTFunction · 0.80
SslSmokeTestHelperFunction · 0.80
TESTFunction · 0.80

Calls 2

ShutdownMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected