[ 
https://issues.apache.org/jira/browse/ATLAS-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859224#comment-16859224
 ] 

ASF subversion and git services commented on ATLAS-3271:
--------------------------------------------------------

Commit 5d77aba316842976da13290431592fea249b7151 in atlas's branch 
refs/heads/master from Sarath Subramanian
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5d77aba ]

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

Signed-off-by: Madhan Neethiraj <mad...@apache.org>


> Investigate and fix test failures in atlas-distro module
> --------------------------------------------------------
>
>                 Key: ATLAS-3271
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3271
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.0.0
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>            Priority: Major
>         Attachments: ATLAS-3271.001.patch
>
>
> Fix failing test:
> {code}
> ======================================================================
> FAIL: test_main_embedded (TestMetadata.TestMetadata)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/jenkins/jenkins-slave/workspace/Atlas-master-AllTests/distro/src/test/mock/mock.py",
>  line 1199, in patched
>     return func(*args, **keywargs)
>   File 
> "/home/jenkins/jenkins-slave/workspace/Atlas-master-AllTests/distro/src/test/python/scripts/TestMetadata.py",
>  line 121, in test_main_embedded
>     runProcess_mock.assert_has_calls(calls)
>   File 
> "/home/jenkins/jenkins-slave/workspace/Atlas-master-AllTests/distro/src/test/mock/mock.py",
>  line 861, in assert_has_calls
>     'Actual: %r' % (calls, self.mock_calls)
> AssertionError: Calls not found.
> Expected: [call(['atlas_home/hbase/bin/hbase-daemon.sh', '--config', 
> 'atlas_home/hbase/conf', 'start', 'master'], 'atlas_home/logs', False, True), 
> 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/conf/solr', '-shards', '1', 
> '-replicationFactor', '1'], 'atlas_home/logs', False, True), 
> call(['atlas_home/solr/bin/solr', 'create', '-c', 'edge_index', '-d', 
> 'atlas_home/conf/solr', '-shards', '1', '-replicationFactor', '1'], 
> 'atlas_home/logs', False, True), call(['atlas_home/solr/bin/solr', 'create', 
> '-c', 'fulltext_index', '-d', 'atlas_home/conf/solr', '-shards', '1', 
> '-replicationFactor', '1'], 'atlas_home/logs', False, True)]
> Actual: [call(['atlas_home/hbase/bin/hbase-daemon.sh', '--config', 
> 'atlas_home/hbase/conf', 'start', 'master'], 'atlas_home/logs', False, True),
>  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/_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/_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/_default/conf', '-shards', '1', 
> '-replicationFactor', '1'], 'atlas_home/logs', False, True)]
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to