Skip to content

Commit

Permalink
assert that the send message failed
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Apr 16, 2024
1 parent 9a204b3 commit d50be30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/secure_tunnel_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,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_last_error());
ASSERT_INT_EQUALS(result, AWS_OP_ERR);

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

0 comments on commit d50be30

Please sign in to comment.