Skip to content

Commit b8c3559

Browse files
committed
forgot about tests
1 parent 73e5cd4 commit b8c3559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Mqtt5ClientTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,7 +2610,7 @@ static int s_TestMqtt5ManualPubackHold(Aws::Crt::Allocator *allocator, void *)
26102610
ASSERT_TRUE(redeliveryFuture.wait_for(std::chrono::seconds(60)) == std::future_status::ready);
26112611

26122612
/* Release the held PUBACK now that we've confirmed re-delivery */
2613-
ASSERT_TRUE(mqtt5Client->InvokePublishAcknowledgement(capturedHandle));
2613+
ASSERT_TRUE(mqtt5Client->InvokePublishAcknowledgement(*capturedHandle));
26142614

26152615
ASSERT_TRUE(mqtt5Client->Stop());
26162616
stoppedPromise.get_future().get();
@@ -2718,7 +2718,7 @@ static int s_TestMqtt5ManualPubackInvoke(Aws::Crt::Allocator *allocator, void *)
27182718
ASSERT_TRUE(capturedHandle != nullptr);
27192719

27202720
/* Immediately invoke the PUBACK using the acquired handle */
2721-
ASSERT_TRUE(mqtt5Client->InvokePublishAcknowledgement(capturedHandle));
2721+
ASSERT_TRUE(mqtt5Client->InvokePublishAcknowledgement(*capturedHandle));
27222722

27232723
/* Wait 60 seconds and confirm the broker does NOT re-deliver the message */
27242724
auto redeliveryFuture = unexpectedRedeliveryPromise.get_future();

0 commit comments

Comments
 (0)