atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1048) TestMetadata.py test in distro project fails on Windows
Date Wed, 04 Jan 2017 08:20:58 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhan Neethiraj updated ATLAS-1048:
------------------------------------
    Fix Version/s: 0.7.1-incubating

Committed to 0.7-incubating branch: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/0ba917ece3100e2a01b55314f9dbe34fc5be5380

> TestMetadata.py test in distro project fails on Windows
> -------------------------------------------------------
>
>                 Key: ATLAS-1048
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1048
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Kantor
>            Assignee: Jeffrey Hagelberg
>             Fix For: 0.8-incubating, 0.7.1-incubating
>
>         Attachments: atlas-1048.patch
>
>
> TestMetadata.py test in distro project fails on Windows with following error:
> {noformat}
> Traceback (most recent call last):
>   File "C:\source\atlas\incubator-atlas\distro\src\test\mock\mock.py", line 1199, in
patched
>     return func(*args, **keywargs)
>   File "C:\source\atlas\incubator-atlas\distro\src\test\python\scripts\TestMetadata.py",
line 73, in test_main_embedded
>     runProcess_mock.assert_has_calls(calls)
>   File "C:\source\atlas\incubator-atlas\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\\start-hbase.cmd', '--config', 'atlas_home\\hbase\\conf',
'start', 'master'], 'atlas_home\\logs', False, True), 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', '-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', '-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', '-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
> Actual: [call(['atlas_home\\hbase\\bin\\start-hbase.cmd', '--config', 'atlas_home\\hbase\\conf'],
'atlas_home\\logs', False, True),
>  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', '-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', '-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', '-replicationFactor', '1'], 'atlas_home\\logs', False, True)]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message