Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
75ee78bf
Commit
75ee78bf
authored
6 years ago
by
Sarath Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3217: Cannot start Atlas 3.0 SNAPSHOT in embedded-hbase-solr configuration #fix UT failure
parent
51c377da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
TestMetadata.py
distro/src/test/python/scripts/TestMetadata.py
+12
-12
No files found.
distro/src/test/python/scripts/TestMetadata.py
View file @
75ee78bf
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment