Skip to content

Commit

Permalink
Properly call keyword args and ignore systest results
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzheng committed Aug 8, 2018
1 parent 187bac7 commit 08f0e3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Duckape
systests/.ducktape/
systests/results/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion ducktape/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, context, num_nodes=None, cluster_spec=None, *args, **kwargs):
self._clean_time = -1

self._initialized = False
self.cluster_spec = Service.setup_cluster_spec(num_nodes, cluster_spec)
self.cluster_spec = Service.setup_cluster_spec(num_nodes=num_nodes, cluster_spec=cluster_spec)
self.context = context

self.nodes = []
Expand Down
2 changes: 1 addition & 1 deletion systests/cluster/test_remote_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class RemoteAccountTestService(Service):
"""Simple service that allocates one node for performing tests of RemoteAccount functionality"""

def __init__(self, context):
super(RemoteAccountTestService, self).__init__(context, 1)
super(RemoteAccountTestService, self).__init__(context, num_nodes=1)
self.temp_dir = generate_tempdir_name()
self.logs = {
"my_log": {
Expand Down

0 comments on commit 08f0e3d

Please sign in to comment.