Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.6-incubating
-
None
-
None
Description
Run mvn clean test or package. You get this:
[INFO] — exec-maven-plugin:1.2.1:exec (python-test) @ atlas-distro —
test_jar_java_lookups_fail (TestMetadata.TestMetadata) ... ok
test_jar_java_lookups_succeed_from_path (TestMetadata.TestMetadata) ... ok
test_main (TestMetadata.TestMetadata) ... Apache Atlas Server started!!!
FAIL
======================================================================
FAIL: test_main (TestMetadata.TestMetadata)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/hyamijala/projects/hwx/atlas/src/atlas/distro/src/test/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/Users/hyamijala/projects/hwx/atlas/src/atlas/distro/src/test/python/scripts/TestMetadata.py", line 70, in test_main
['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home', '-Datlas.conf=metadata_home/conf', '-Xmx1024m', '-XX:MaxPermSize=512m', '-Dlog4j.configuration=atlas-log4j.xml'], 'metadata_home/logs')
File "/Users/hyamijala/projects/hwx/atlas/src/atlas/distro/src/test/mock/mock.py", line 833, in assert_called_with
raise AssertionError(msg)
AssertionError: Expected call: java('org.apache.atlas.Atlas', ['-app', 'metadata_home/server/webapp/atlas'], 'metadata_home/conf:metadata_home/server/webapp/atlas/WEB-INF/classes:metadata_home/server/webapp/atlas/WEB-INF/lib/:metadata_home/libext/', ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home', '-Datlas.conf=metadata_home/conf', '-Xmx1024m', '-XX:MaxPermSize=512m', '-Dlog4j.configuration=atlas-log4j.xml'], 'metadata_home/logs')
Actual call: java('org.apache.atlas.Atlas', ['-app', 'metadata_home/server/webapp/atlas'], 'metadata_home/conf:metadata_home/server/webapp/atlas/WEB-INF/classes:metadata_home/server/webapp/atlas/WEB-INF/lib/:metadata_home/libext/:metadata_home/hbase/conf', ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home', '-Datlas.conf=metadata_home/conf', '-Xmx1024m', '-XX:MaxPermSize=512m', '-Dlog4j.configuration=atlas-log4j.xml'], 'metadata_home/logs')