Skip to content

Commit

Permalink
Update fileshare monitoring qa test
Browse files Browse the repository at this point in the history
  • Loading branch information
devzbysiu committed Dec 18, 2024
1 parent 767a0d8 commit 7a88f9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/qa/test_fileshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,9 +1353,9 @@ def test_fileshare_process_monitoring():
assert "49111 -m comment --comment nordvpn-meshnet -j ACCEPT" in rules

sh.pkill("-SIGKILL", "nordfileshare")
# at the time of writing, the monitoring job is executed periodically every 5 seconds,
# wait for 10 to be sure the job executed
time.sleep(10)
# at the time of writing, the monitoring job is executed periodically every 500 milliseconds,
# wait for 1 second to be sure the job executed
time.sleep(1)

# port is not allowed when fileshare is down
rules = os.popen("sudo iptables -S").read()
Expand Down

0 comments on commit 7a88f9c

Please sign in to comment.