From 039fcaa52969aa7a1764d37836d23ff556c13380 Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Wed, 20 Sep 2023 18:34:44 -0700 Subject: [PATCH] Fix test, the mock server should not send suback for the test --- tests/v5/mqtt5_to_mqtt3_adapter_tests.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/v5/mqtt5_to_mqtt3_adapter_tests.c b/tests/v5/mqtt5_to_mqtt3_adapter_tests.c index d078928c..3b6c9dba 100644 --- a/tests/v5/mqtt5_to_mqtt3_adapter_tests.c +++ b/tests/v5/mqtt5_to_mqtt3_adapter_tests.c @@ -2909,9 +2909,6 @@ static int s_mqtt5to3_adapter_subscribe_multi_null_suback_fn(struct aws_allocato struct mqtt5_client_test_options test_options; aws_mqtt5_client_test_init_default_options(&test_options); - test_options.server_function_table.packet_handlers[AWS_MQTT5_PT_SUBSCRIBE] = - s_mqtt5_mock_server_handle_subscribe_suback_success; - struct aws_mqtt5_client_mqtt5_mock_test_fixture_options test_fixture_options = { .client_options = &test_options.client_options, .server_function_table = &test_options.server_function_table,