Skip to content

Commit

Permalink
Make config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalg0wda committed Jun 15, 2017
1 parent b45e087 commit 5ba4151
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
var/*
dist/
*egg-info*
config/droid_config.json
34 changes: 33 additions & 1 deletion config/droid_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"thrift_host": "0.0.0.0",
"thrift_port": "9090",
"thrift_port": "9091",
"droids": [
{
"port": "5554",
Expand All @@ -17,6 +17,38 @@
"ws_port": "6081",
"clip": "580x1000+100+90",
"dim": "768x1280x24"
},
{
"port": "5558",
"avd": "nexus4-android7-3",
"display": "3",
"ws_port": "6082",
"clip": "580x1000+100+90",
"dim": "768x1280x24"
},
{
"port": "5560",
"avd": "nexus4-android7-4",
"display": "4",
"ws_port": "6083",
"clip": "580x1000+100+90",
"dim": "768x1280x24"
},
{
"port": "5562",
"avd": "nexus4-android7-5",
"display": "5",
"ws_port": "6084",
"clip": "580x1000+100+90",
"dim": "768x1280x24"
},
{
"port": "5564",
"avd": "nexus4-android7-6",
"display": "6",
"ws_port": "6085",
"clip": "580x1000+100+90",
"dim": "768x1280x24"
}
]
}
4 changes: 2 additions & 2 deletions hedroid/master/thrift_server.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import atexit

from hedroid.logger import logger
from hedroid.constants import ErrorCode
from hedroid.master.settings import THRIFT_HOST, THRIFT_PORT
from hedroid.master.zk_master import MasterZkClient

from hedroid.master.tgen.droid_keeper.ttypes import ConnParams, ApplicationException
from hedroid.master.tgen.droid_keeper.ttypes import ConnParams
from hedroid.master.tgen.droid_keeper.ttypes import ApplicationException
from hedroid.master.tgen.droid_keeper.ttypes import ErrCode
from hedroid.master.tgen.droid_keeper import DroidKeeper

Expand Down
2 changes: 1 addition & 1 deletion hedroid/worker/vnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def portfile_wait(self):
def _start(self):
cmd = ["x11vnc", "-forever", "-rfbport", str(self.rfb_port),
"-display", ":{}".format(self.display),
"-noxdamage", "-xkb", "-noscr",
# "-noxdamage", "-xkb", "-noscr",
"-noxfixes", "-nowf", "-ncache", "10",
"-clip", self.clip, "-flag", self._portfile_p,
"-passwd", self.password]
Expand Down

0 comments on commit 5ba4151

Please sign in to comment.