MCPcopy
hub / github.com/IBM/sarama / TestSaslAuthenticateResponseV2

Function TestSaslAuthenticateResponseV2

sasl_authenticate_response_test.go:50–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

48}
49
50func TestSaslAuthenticateResponseV2(t *testing.T) {
51 msg := "err"
52 response := &SaslAuthenticateResponse{
53 Version: 2,
54 Err: ErrSASLAuthenticationFailed,
55 ErrorMessage: &msg,
56 SaslAuthBytes: []byte(`msg`),
57 SessionLifetimeMs: 1,
58 }
59
60 testResponse(t, "authenticate response v2", response, saslAuthenticateResponseErrV2)
61}

Callers

nothing calls this directly

Calls 1

testResponseFunction · 0.85

Tested by

no test coverage detected