Skip to content

Commit

Permalink
check for correct validation error in payload exceed test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Jul 29, 2024
1 parent df7c37c commit a95b385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/secure_tunnel_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,7 @@ static int s_secure_tunneling_max_payload_exceed_test_fn(struct aws_allocator *a
int result = aws_secure_tunnel_send_message(secure_tunnel, &data_message_view);

ASSERT_INT_EQUALS(result, AWS_OP_ERR);
ASSERT_INT_EQUALS(aws_last_error(), AWS_ERROR_IOTDEVICE_SECURE_TUNNELING_DATA_OPTIONS_VALIDATION);

ASSERT_SUCCESS(aws_secure_tunnel_stop(secure_tunnel));
s_wait_for_connection_shutdown(&test_fixture);
Expand Down

0 comments on commit a95b385

Please sign in to comment.