Skip to content

Commit 3508355

Browse files
committed
minor fix
Signed-off-by: Emelia Lei <[email protected]>
1 parent 0c087df commit 3508355

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/groups/mqb/mqba/mqba_clientsession.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,8 +2732,9 @@ void ClientSession::processEvent(const bmqp::Event& event,
27322732
// executed by the *IO* thread
27332733

27342734
if (!event.isAuthenticationEvent() && !d_authenticationContext) {
2735-
BALL_LOG_ERROR << "The authentication lifetime has expired. Need to "
2736-
"reauthenticate.";
2735+
BALL_LOG_ERROR << "The session is not authenticated, but received "
2736+
"event: "
2737+
<< event;
27372738
return; // RETURN
27382739
}
27392740

src/groups/mqb/mqbauthn/mqbauthn_authenticationcontroller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define INCLUDED_MQBAUTHN_AUTHENTICATIONCONTROLLER
1919

2020
// MQB
21-
#include "mqbcfg_messages.h"
21+
#include <mqbcfg_messages.h>
2222
#include <mqbplug_authenticator.h>
2323
#include <mqbplug_pluginmanager.h>
2424

src/groups/mqb/mqbmock/mqbmock_cluster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Cluster::Cluster(bslma::Allocator* allocator,
230230
, d_authenticator_mp()
231231
, d_initialConnectionHandler_mp()
232232
, d_transportManager(&d_scheduler,
233-
bufferFactory,
233+
&d_bufferFactory,
234234
d_authenticator_mp,
235235
d_initialConnectionHandler_mp,
236236
0, // mqbstat::StatController*

src/integration-tests/test_authn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_default_anony_credential_multi(multi_node: Cluster) -> None:
191191

192192
# Start the raw client
193193
client = RawClient()
194-
client.open_channel(*single_node.admin_endpoint)
194+
client.open_channel(*multi_node.admin_endpoint)
195195

196196
# Pass: Sending negotiation request without prior authentication
197197
nego_resp = client.send_negotiation_request()

0 commit comments

Comments
 (0)