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

Function ValidateCounter

be/src/util/runtime-profile-test.cc:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void ValidateCounter(RuntimeProfileBase* profile, const string& name, int64_t value) {
159 RuntimeProfile::Counter* counter = profile->GetCounter(name);
160 EXPECT_TRUE(counter != NULL);
161 EXPECT_EQ(counter->value(), value);
162}
163
164TEST(CountersTest, MergeAndUpdate) {
165 // Create two trees. Each tree has two children, one of which has the

Callers 1

TESTFunction · 0.85

Calls 2

GetCounterMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected