Skip to content

Commit

Permalink
* MDF [workflow] revert changes
Browse files Browse the repository at this point in the history
Signed-off-by: wayne <yukang.wei@emqx.io>
  • Loading branch information
OdyWayne committed May 8, 2024
1 parent 8a97c2e commit f62bdf3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/mqtt_test_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_topic_alias():
pid = Value('i', 0)
process1 = Process(target=cnt_message, args=(sub_cmd, cnt, pid, "message"))
process1.start()
time.sleep(2)
time.sleep(1)
process2 = subprocess.Popen(pub_cmd,
stdout=subprocess.PIPE,
universal_newlines=True)
Expand All @@ -204,7 +204,6 @@ def test_topic_alias():
time.sleep(1)
times += 1

time.sleep(2)
process1.terminate()
os.kill(pid.value, signal.SIGKILL)
if cnt.value == 10:
Expand Down
2 changes: 0 additions & 2 deletions .github/scripts/rest_api_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
import json
from time import sleep
from collections import namedtuple

base_url = "http://127.0.0.1:8081/api/v4"
Expand All @@ -12,7 +11,6 @@ def test_get_api():

for p in paths:
print("testing Get API: " + base_url + p)
sleep(0.5)
response = requests.get(base_url + p, auth=('admin', 'public'), headers={'Connection':'close'})

if response.status_code != 200:
Expand Down

0 comments on commit f62bdf3

Please sign in to comment.