You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, the TESTAR web driver hangs when starting the web URL and trying to fetch the initial web state. This provokes TESTAR to hang around 120 seconds, stop the system, and start a second try connection again.
Reproduce
The main issue is that this bug is not 'easy' to reproduce. But running a lot of sequences (e.g., 100) with a small number of actions (e.g., 1) sometimes shows this hang and restart bug behavior.
Possible cause
It seems that the origin cause of this bug is the implementation of a synchronized method that can potentially block some TESTAR threads to update the web tabs' handle information.
Description
Sometimes, the TESTAR web driver hangs when starting the web URL and trying to fetch the initial web state. This provokes TESTAR to hang around 120 seconds, stop the system, and start a second try connection again.
Reproduce
The main issue is that this bug is not 'easy' to reproduce. But running a lot of sequences (e.g., 100) with a small number of actions (e.g., 1) sometimes shows this hang and restart bug behavior.
Possible cause
It seems that the origin cause of this bug is the implementation of a
synchronized
method that can potentially block some TESTAR threads to update the web tabs' handle information.TESTAR_dev/webdriver/src/org/testar/monkey/alayer/webdriver/WdDriver.java
Lines 397 to 416 in 0682abe
Possible solution
A solution we are investigating is changing this
synchronized
implementation with a multi-thread safeCopyOnWriteArrayList
solution.The text was updated successfully, but these errors were encountered: