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

Function AuthFails

be/src/rpc/authentication-test.cc:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void AuthFails(const string& name, SecureAuthProvider* sa) {
93 EXPECT_EQ(SASL_BADAUTH,
94 SaslAuthorizeInternal(NULL, (void*)sa, name.c_str(), name.size(), NULL, 0, NULL, 0,
95 NULL));
96}
97
98TEST(Auth, AuthorizeInternalPrincipals) {
99 SecureAuthProvider sa(true); // false means it's external

Callers 1

TESTFunction · 0.85

Calls 2

SaslAuthorizeInternalFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected