Skip to content

Commit 303afef

Browse files
committed
change for test refactor
1 parent b5f0d15 commit 303afef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Mqtt5ClientTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ AWS_TEST_CASE(Mqtt5QoS1SubPub, s_TestMqtt5QoS1SubPub)
19921992
*/
19931993
static int s_TestMqtt5ManualPubackHold(Aws::Crt::Allocator *allocator, void *)
19941994
{
1995-
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_IOT_CORE);
1995+
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_DIRECT_IOT_CORE);
19961996
if (!mqtt5TestVars)
19971997
{
19981998
printf("Environment Variables are not set for the test, skip the test");
@@ -2101,7 +2101,7 @@ AWS_TEST_CASE(Mqtt5ManualPubackHold, s_TestMqtt5ManualPubackHold)
21012101
*/
21022102
static int s_TestMqtt5ManualPubackInvoke(Aws::Crt::Allocator *allocator, void *)
21032103
{
2104-
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_IOT_CORE);
2104+
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_DIRECT_IOT_CORE);
21052105
if (!mqtt5TestVars)
21062106
{
21072107
printf("Environment Variables are not set for the test, skip the test");
@@ -2215,7 +2215,7 @@ AWS_TEST_CASE(Mqtt5ManualPubackInvoke, s_TestMqtt5ManualPubackInvoke)
22152215
*/
22162216
static int s_TestMqtt5ManualPubackAcquireDoubleCallReturnsNull(Aws::Crt::Allocator *allocator, void *)
22172217
{
2218-
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_IOT_CORE);
2218+
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_DIRECT_IOT_CORE);
22192219
if (!mqtt5TestVars)
22202220
{
22212221
printf("Environment Variables are not set for the test, skip the test");
@@ -2310,7 +2310,7 @@ AWS_TEST_CASE(Mqtt5ManualPubackAcquireDoubleCallReturnsNull, s_TestMqtt5ManualPu
23102310
*/
23112311
static int s_TestMqtt5ManualPubackQoS0AcquireIsNull(Aws::Crt::Allocator *allocator, void *)
23122312
{
2313-
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_IOT_CORE);
2313+
Mqtt5TestEnvVars mqtt5TestVars(allocator, MQTT5CONNECT_DIRECT_IOT_CORE);
23142314
if (!mqtt5TestVars)
23152315
{
23162316
printf("Environment Variables are not set for the test, skip the test");

0 commit comments

Comments
 (0)