Skip to content

Commit

Permalink
only print error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Oct 13, 2023
1 parent e1f639f commit 1bab1c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit 1bab1c9

Please sign in to comment.