Skip to content

Commit 1c1bd92

Browse files
committed
How about failing a test that are not skipped?
1 parent f4ccb13 commit 1c1bd92

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/Mqtt5ClientTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,6 @@ static int s_TestMqtt5SubUnsub(Aws::Crt::Allocator *allocator, void *)
18761876

18771877
ASSERT_TRUE(receivedCount == 1);
18781878

1879-
return AWS_OP_ERR;
18801879
return AWS_OP_SUCCESS;
18811880
}
18821881
AWS_TEST_CASE(Mqtt5SubUnsub, s_TestMqtt5SubUnsub)

tests/MqttClientCredentialsTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,7 @@ static int s_TestIoTMqtt311ConnectWSStatic(Aws::Crt::Allocator *allocator, void
974974
aws_string_destroy(accessKeyId);
975975
aws_string_destroy(secretAccessKey);
976976
aws_string_destroy(sessionToken);
977+
return AWS_OP_ERR;
977978
return AWS_OP_SUCCESS;
978979
}
979980
AWS_TEST_CASE(IoTMqtt311ConnectWSStatic, s_TestIoTMqtt311ConnectWSStatic)

0 commit comments

Comments
 (0)