Commit 3d266b08 by Sarath Subramanian

ATLAS-3073: Investigate and fix IT failures in atlas-distro module #2

parent 770b8274
......@@ -92,13 +92,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'],
'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
runProcess_mock.assert_has_calls(calls)
......@@ -109,13 +109,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs',
False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True)]
runProcess_mock.assert_has_calls(calls)
......@@ -185,13 +185,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home\\solr\\bin\\solr.cmd', 'start', '-z', 'localhost:9838', '-p', '9838'],
'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'vertex_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'edge_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True),
call(['atlas_home\\solr\\bin\\solr.cmd', 'create', '-c', 'fulltext_index', '-d',
'atlas_home\\solr\\server\\solr\\configsets\\basic_configs\\conf', '-shards', '1',
'atlas_home\\solr\\server\\solr\\configsets\\_default\\conf', '-shards', '1',
'-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
runProcess_mock.assert_not_called(calls)
......@@ -202,13 +202,13 @@ class TestMetadata(unittest.TestCase):
call(['atlas_home/solr/bin/solr', 'start', '-z', 'localhost:9838', '-p', '9838'], 'atlas_home/logs',
False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'vertex_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True),
call(['atlas_home/solr/bin/solr', 'create', '-c', 'fulltext_index', '-d',
'atlas_home/solr/server/solr/configsets/basic_configs/conf', '-shards', '1', '-replicationFactor',
'atlas_home/solr/server/solr/configsets/_default/conf', '-shards', '1', '-replicationFactor',
'1'], 'atlas_home/logs', False, True)]
runProcess_mock.assert_not_called(calls)
......
......@@ -198,7 +198,7 @@ See [[https://cwiki.apache.org/confluence/display/RANGER/How+to+configure+Solr+C
* Upload the configuration to Zookeeper.
<verbatim>
$SOLR_INSTALL_HOME/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig -zkhost $ZK_HOST:2181/solr -confname basic_configs -confdir $SOLR_INSTALL_HOME/server/solr/configsets/basic_configs/conf
$SOLR_INSTALL_HOME/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig -zkhost $ZK_HOST:2181/solr -confname basic_configs -confdir $SOLR_INSTALL_HOME/server/solr/configsets/_default/conf
</verbatim>
......
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