Skip to content

Commit a4836db

Browse files
committed
Fail on macos
1 parent 0bdeb03 commit a4836db

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_connection.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -735,14 +735,14 @@ static int s_test_connection_customized_alpn_error_with_unknown_return_string(
735735
tester.wait_client_connection_num = 1;
736736
tester.wait_server_connection_num = 1;
737737

738-
#ifndef __APPLE__ /* Server side ALPN doesn't work for MacOS */
738+
// #ifndef __APPLE__ /* Server side ALPN doesn't work for MacOS */
739739
ASSERT_FAILS(s_tester_wait(&tester, s_tester_connection_setup_pred));
740740
/* Assert that we have the negotiated protocol and error returned from callback */
741741
ASSERT_TRUE(aws_byte_buf_eq_c_str(&tester.negotiated_protocol, customized_alpn_string));
742742
ASSERT_INT_EQUALS(aws_last_error(), AWS_ERROR_HTTP_UNSUPPORTED_PROTOCOL);
743-
#else
744-
ASSERT_SUCCESS(s_tester_wait(&tester, s_tester_connection_setup_pred));
745-
#endif
743+
// #else
744+
// ASSERT_SUCCESS(s_tester_wait(&tester, s_tester_connection_setup_pred));
745+
// #endif
746746
/* clean up */
747747
release_all_client_connections(&tester);
748748
release_all_server_connections(&tester);

0 commit comments

Comments
 (0)