Skip to content

Commit

Permalink
Workaround worked
Browse files Browse the repository at this point in the history
Workaround in python/cpython#113964 worked
Now just tuned from 300 sec to 10 sec in the loop, no need to wait 5 min after base.run_dbthread is set false, 10 sec should be plenty, actually 1 would probably be enough.
Cut debugging in test back to level 1
Issue #177
  • Loading branch information
damies13 committed Feb 18, 2024
1 parent bccc704 commit abaec04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Regression/Agent/ºBugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Issue #171
# ${scenariofile}= Normalize Path ${CURDIR}${/}..${/}..${/}Demo${/}demo.rfs
${scenariofile}= Normalize Path ${CURDIR}${/}testdata${/}Issue-#171${/}Issue171.rfs
Log to console ${scenariofile}
@{mngr_options}= Create List -g 3 -s ${scenariofile} -n
@{mngr_options}= Create List -g 1 -s ${scenariofile} -n
Run Manager CLI ${mngr_options}
Wait For Manager
Show Log stdout_manager.txt
Expand Down
2 changes: 1 addition & 1 deletion rfswarm_manager/rfswarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2348,7 +2348,7 @@ def mainloop(self):
base.gui.mainloop()

while base.run_dbthread:
time.sleep(300)
time.sleep(10)

base.debugmsg(5, "mainloop end")

Expand Down

0 comments on commit abaec04

Please sign in to comment.