atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apoorv Naik <naik.apo...@gmail.com>
Subject Review Request 63152: ATLAS-2218: TestMetadata.py fix
Date Thu, 19 Oct 2017 16:32:46 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63152/
-----------------------------------------------------------

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath Subramanian.


Bugs: ATLAS-2218
    https://issues.apache.org/jira/browse/ATLAS-2218


Repository: atlas


Description
-------

Recent changes to the startup script introduced a polling mechanism which waits for atlas
server's response (heartbeat check). As a side effect the python unit tests took longer to
execute because of the polling logic.

This change introduces the mocks for getConfig, getConfigWithDefault and wait_for_startup
to reduce the test time from 11 mins to ~5 secs


Diffs
-----

  distro/src/test/python/scripts/TestMetadata.py 1fd9a8cf 


Diff: https://reviews.apache.org/r/63152/diff/1/


Testing
-------

mvn clean package executes successfully.


Thanks,

Apoorv Naik


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message