Commit 75ee78bf by Sarath Subramanian

ATLAS-3217: Cannot start Atlas 3.0 SNAPSHOT in embedded-hbase-solr configuration #fix UT failure

parent 51c377da
...@@ -92,13 +92,13 @@ class TestMetadata(unittest.TestCase): ...@@ -92,13 +92,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'], call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'],
'atlas_home\\logs', False, True), 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True), '-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True), '-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True)] '-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
runProcess_mock.assert_has_calls(calls) runProcess_mock.assert_has_calls(calls)
...@@ -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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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)
...@@ -185,13 +185,13 @@ class TestMetadata(unittest.TestCase): ...@@ -185,13 +185,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'], call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'],
'atlas_home\\logs', False, True), 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True), '-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True), '-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d', call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1', 'atlas_home\\conf\\solr', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True)] '-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
runProcess_mock.assert_not_called(calls) runProcess_mock.assert_not_called(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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor', 'atlas_home/conf/solr', '-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