Skip to content

Commit 7ca8136

Browse files
committed
fix format
1 parent 8b0899f commit 7ca8136

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

tests/ClientTest.cc

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,9 @@ TEST(ClientTest, testUpdateConnectionInfo) {
515515
// Access "private/auth" namespace in cluster 1
516516
ServiceInfo info1{"pulsar://localhost:6650", AuthToken::createWithToken(getToken()), std::nullopt};
517517
// Access "private/auth" namespace in cluster 2
518-
ServiceInfo info2{
519-
"pulsar+ssl://localhost:6653",
520-
AuthTls::create(TEST_CONF_DIR "/client-cert.pem", TEST_CONF_DIR "/client-key.pem"),
521-
TEST_CONF_DIR "/hn-verification/cacert.pem"};
518+
ServiceInfo info2{"pulsar+ssl://localhost:6653",
519+
AuthTls::create(TEST_CONF_DIR "/client-cert.pem", TEST_CONF_DIR "/client-key.pem"),
520+
TEST_CONF_DIR "/hn-verification/cacert.pem"};
522521
// Access "public/default" namespace in cluster 1, which doesn't require authentication
523522
ServiceInfo info3{"pulsar://localhost:6650", std::nullopt, std::nullopt};
524523

@@ -567,10 +566,9 @@ TEST(ClientTest, testUpdateConnectionInfo) {
567566
verify(client1, topicRequiredAuth, "msg-0");
568567
client1.close();
569568

570-
Client client2{info2.serviceUrl,
571-
ClientConfiguration()
572-
.setAuth(*info2.authentication)
573-
.setTlsTrustCertsFilePath(*info2.tlsTrustCertsFilePath)};
569+
Client client2{info2.serviceUrl, ClientConfiguration()
570+
.setAuth(*info2.authentication)
571+
.setTlsTrustCertsFilePath(*info2.tlsTrustCertsFilePath)};
574572
verify(client2, topicRequiredAuth, "msg-1");
575573
client2.close();
576574

0 commit comments

Comments
 (0)