-
Notifications
You must be signed in to change notification settings - Fork 575
Conversation
This reverts commit dd182bd
…appens automatically
Codecov Report
@@ Coverage Diff @@
## pr-907-swarm #907 +/- ##
==================================================
- Coverage 58.51% 54.47% -4.04%
- Complexity 642 646 +4
==================================================
Files 54 56 +2
Lines 4127 4455 +328
Branches 370 413 +43
==================================================
+ Hits 2415 2427 +12
- Misses 1493 1805 +312
- Partials 219 223 +4 |
During testing our solution, we've discovered a bug which keeps the Thread "AutoStartProxyPoolPoller" forever in the state "WAITING". We do use many docker operations to run Zalenium in a docker swarm. When docker operations run simultaneous the above described error occurs. This problem is also described in the following issues:
As a solution we run docker operations in synchronized blocks to prevent simultaneous access to docker. |
Hi @yosserO, I am sorry I have not had time to review this properly, would it be possible to update this PR with the latest changes from master? I will have time this weekend to review and if everything works out we could release in 1-2 weeks as a beta. |
I've merged the master into our implementation branch. On our side everything seems to be ok. |
I will merge this to a protected branch so we can run all the CI tests, looks good so far. |
Let's follow up in #982 |
Description
How to use it:
docker swarm init
docker stack deploy -c <path-to-docker-compose-file> STACK_NAME
.node.role == manager
and will only be deployed on the manager. (Take a look at the example docker-compose file).node.role==worker
. This constraint is currently hard coded in the SwarmContainerClient.java Class.datagridsys/skopos-plugin-swarm-exec:latest
.Motivation and Context
Adapt zalenium to be able to run in a docker swarm.
How Has This Been Tested?
We tested it manually. For more details please check the Description.
Types of changes
Checklist: