Skip to content

Commit

Permalink
* test
Browse files Browse the repository at this point in the history
Signed-off-by: wayne <yukang.wei@emqx.io>
  • Loading branch information
OdyWayne committed Apr 27, 2024
1 parent 0194c08 commit 0c4ca09
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ def print_nanomq_log():


time.sleep(2)

print("rest api test start")
if False == rest_api_test():
nanomq.terminate()
print("rest api test failed")
print_nanomq_log()
raise AssertionError
print("rest api test end")

print("mqtt v311 test start")
if False == mqtt_test():
Expand Down Expand Up @@ -87,13 +95,7 @@ def print_nanomq_log():
raise AssertionError
print("fuzzy test end")

print("rest api test start")
if False == rest_api_test():
nanomq.terminate()
print("rest api test failed")
print_nanomq_log()
raise AssertionError
print("rest api test end")


print("vul_test test start")
vul_test()
Expand Down

0 comments on commit 0c4ca09

Please sign in to comment.