summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):