mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-08-26 11:51:30 +00:00
CI: Enable publish tests only when started from weekend pipeline
This commit is contained in:
committed by
Rocha Euripedes
parent
9bc1e1a011
commit
f962ac035f
@@ -352,7 +352,10 @@ def test_app_protocol_mqtt_publish_connect(env, extra_data):
|
||||
raise Exception('Unexpected negotiated protocol {}'.format(s.get_negotiated_protocol()))
|
||||
|
||||
#
|
||||
# start publish tests
|
||||
# start publish tests only if enabled in the environment (for weekend tests only)
|
||||
if not os.getenv('MQTT_PUBLISH_TEST'):
|
||||
return
|
||||
|
||||
def start_publish_case(transport, qos, repeat, published, queue):
|
||||
print('Starting Publish test: transport:{}, qos:{}, nr_of_msgs:{}, msg_size:{}, enqueue:{}'
|
||||
.format(transport, qos, published, repeat * DEFAULT_MSG_SIZE, queue))
|
||||
|
||||
Reference in New Issue
Block a user