Commit 5d77aba3 by Sarath Subramanian Committed by Madhan Neethiraj

ATLAS-3271: fix for test failures in atlas-distro module

parent b9481410
...@@ -109,13 +109,13 @@ class TestMetadata(unittest.TestCase): ...@@ -109,13 +109,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs', call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs',
False, True), False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True), '1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True), '1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True)] '1'], 'atlas_home/logs', False, True)]
runProcess_mock.assert_has_calls(calls) runProcess_mock.assert_has_calls(calls)
...@@ -202,13 +202,13 @@ class TestMetadata(unittest.TestCase): ...@@ -202,13 +202,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs', call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs',
False, True), False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True), '1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True), '1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d', call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d',
'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', 'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True)] '1'], 'atlas_home/logs', False, True)]
runProcess_mock.assert_not_called(calls) runProcess_mock.assert_not_called(calls)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment