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

Function TEST

be/src/workload_mgmt/workload-management-test.cc:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using kudu::Version;
39
40TEST(WorkloadManagementTest, ParseSchemaVersionFlagHappyPath) {
41 // Asserts any valid version can be parsed.
42 FLAGS_workload_mgmt_schema_version = "0.0.0";
43
44 Version v;
45
46 ASSERT_OK(ParseSchemaVersionFlag(&v));
47 ASSERT_EQ("0.0.0", v.ToString());
48}
49
50TEST(WorkloadManagementTest, ParseSchemaVersionFlagEmpty) {
51 // Asserts an empty schema version flag defaults to the latest version;

Callers

nothing calls this directly

Calls 12

ParseSchemaVersionFlagFunction · 0.85
ParseVersionFunction · 0.85
StartupChecksFunction · 0.85
IncludeFieldFunction · 0.85
QueryLogTableNameFunction · 0.85
QueryLiveTableNameFunction · 0.85
codeMethod · 0.80
cbeginMethod · 0.80
cendMethod · 0.80
ToStringMethod · 0.45
okMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected