snowch / biginsight-examples

Example projects to help you quickly get started with BigInsights
Apache License 2.0
7 stars 4 forks source link

Travis to check service status #73

Open snowch opened 8 years ago

snowch commented 8 years ago

It would be good to see if there are any services that are not running ok before we execute any of the other tests:

.... test passed: Ambari:CheckStaus::HDFS ... Test failed: Ambar:CheckStatus::BIGR ....

pregazzoni commented 8 years ago

Are you thinking to do a full service check or just service is up and has not alerts.

snowch commented 8 years ago

Good question. What do you think?

pregazzoni commented 8 years ago

Minimum should check for each service:

Doing a full service check or more would be more costly.

snowch commented 8 years ago

Cool. IIRC travis is limited to 40 minutes so this makes sense.

pregazzoni commented 8 years ago

ok so i can implement this as simple checkService in the top build.gradle for now.

pregazzoni commented 8 years ago

Added code to create list of service with state and alert ... see commit 5e423c1