SKA-ScienceDataProcessor / integration-prototype

SDP Integration Prototype
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

Added a new function called get_actual_replica. #72

Closed njthykkathu closed 5 years ago

njthykkathu commented 5 years ago

Description:

Added a new function called get_actual_replica_level. It will get the actual number of replication level is set by the docker compose file. This can be used to compare if the replication level matches. Useful function for a healthcheck.

Testing instructions:

Can be tested using the test script, a new test function has also been added.

Types of changes

Checklist:

codecov[bot] commented 5 years ago

Codecov Report

Merging #72 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   85.08%   85.08%           
=======================================
  Files          62       62           
  Lines        2702     2702           
  Branches      224      224           
=======================================
  Hits         2299     2299           
  Misses        352      352           
  Partials       51       51

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d83fcbb...9c298bf. Read the comment docs.