mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
Fix mqtt functionality tests CI
1. Make mosquitto more verbose 2. Sleep for 1 second in mqtt LOGIN keyword
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Run function test
|
||||
run: |
|
||||
mosquitto &
|
||||
mosquitto -v &
|
||||
pip3 install -r ft/requirements.txt
|
||||
python3 -m robot -P ft/ --variable neuron_api:http -d ft/http_reports ft
|
||||
python3 -m robot -P ft/ --variable neuron_api:mqtt -d ft/mqtt_reports ft
|
||||
|
||||
@@ -76,6 +76,7 @@ LOGIN
|
||||
_Http Node Setting ${mqtt_node} ${MQTT_CONFIG}
|
||||
_Http Node Ctl ${mqtt_node} ${NODE_CTL_START}
|
||||
_Http LOGOUT
|
||||
Sleep 1s
|
||||
|
||||
Connect ${MQTT_CONFIG_HOST} ${MQTT_CONFIG_PORT} client_id=neuron-ft clean_session=${true}
|
||||
Subscribe ${MQTT_CONFIG_RES_TOPIC} qos=0 timeout=5
|
||||
|
||||
Reference in New Issue
Block a user