summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-06-19 14:20:26 +0530
committerNigel Babu <nigelb@redhat.com>2018-06-20 09:40:48 +0000
commitcc2f2e7bfef6ca47e740c5ee6b4665ec2880f860 (patch)
tree1f6bb75a7ed738850e2e4fc6ddc205addc640081
parentc097a7894d458e33a41f6db6092677108ef30fec (diff)
Distributed-testing: Call the correct class i.e. GeneralXMLRPCServer
fixes: bz#1586342 Change-Id: I7a062d49f2a49ca4848ffd0b8d1e39c8b6b99815 Signed-off-by: Deepshikha Khandelwal <dkhandel@redhat.com>
-rw-r--r--.testignore1
-rwxr-xr-xextras/distributed-testing/distributed-test-runner.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/.testignore b/.testignore
index 83f4316ec34..af344f27af1 100644
--- a/.testignore
+++ b/.testignore
@@ -48,6 +48,7 @@ extras/logger.conf.example
extras/snap_scheduler/README.md
extras/test/ld-preload-test/README
extras/who-wrote-glusterfs/*
+extras/distributed-testing/*
geo-replication/syncdaemon/README.md
geo-replication/test-requirements.txt
rpc/xdr/src/.gitignore
diff --git a/extras/distributed-testing/distributed-test-runner.py b/extras/distributed-testing/distributed-test-runner.py
index e3733ac7cb2..b2cf32ef1bb 100755
--- a/extras/distributed-testing/distributed-test-runner.py
+++ b/extras/distributed-testing/distributed-test-runner.py
@@ -56,7 +56,7 @@ class GeneralXMLRPCServer(SimpleXMLRPCServer.SimpleXMLRPCServer):
def server_bind(self):
if self.socket:
self.socket.close()
- self.socket = socket_instance(args['address_family'])
+ self.socket = socket_instance(args.address_family)
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
SimpleXMLRPCServer.SimpleXMLRPCServer.server_bind(self)
@@ -247,7 +247,7 @@ class TestServer:
def init(self):
Log.debug("Starting xmlrpc server on port %s" % self.port)
- self.rpc = GeneralSimpleXMLRPCServer(("", self.port))
+ self.rpc = GeneralXMLRPCServer(("", self.port))
self.rpc.register_instance(Handlers(self.scratchdir))
def serve(self):