From 1bab1c99a6e0bfc74ad7d0641e497f2ad8cee3bf Mon Sep 17 00:00:00 2001 From: xiazhvera Date: Fri, 13 Oct 2023 11:59:30 -0700 Subject: [PATCH] only print error --- test/test_mqtt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_mqtt.py b/test/test_mqtt.py index c2d463730..59cbe5f9c 100644 --- a/test/test_mqtt.py +++ b/test/test_mqtt.py @@ -73,7 +73,7 @@ def test_connect_disconnect(self): connection.disconnect().result(TIMEOUT) def test_ecc_connect_disconnect(self): - io.init_logging(io.LogLevel.Debug, "stderr") + io.init_logging(io.LogLevel.Error, "stderr") test_input_endpoint = _get_env_variable("AWS_TEST_MQTT311_IOT_CORE_HOST") test_input_cert = _get_env_variable("AWS_TEST_MQTT311_IOT_CORE_ECC_CERT") @@ -85,6 +85,7 @@ def test_ecc_connect_disconnect(self): connection = self._create_connection(test_input_endpoint, test_tls) connection.connect().result(TIMEOUT) connection.disconnect().result(TIMEOUT) + io.init_logging(io.LogLevel.Error, "stdout") def test_pkcs11(self): test_input_endpoint = _get_env_variable("AWS_TEST_MQTT311_IOT_CORE_HOST")