google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.65k stars 511 forks source link

Add --dry_run config to healthceck CLI #80

Closed unicell closed 4 years ago

unicell commented 4 years ago

If turned on, healthcheck server will continue to spin up goroutines for managed checks, but skip the actual healthcheck execution and always report success back via notification channel.

This is helpful in integration test scenario where backend server doesn't really exists or functioning.

unicell commented 4 years ago

@liuyuan10 Thought this flag could be useful. Would like to hear your thoughts otherwise.

unicell commented 4 years ago

@liuyuan10 Thanks for the quick reply! Comments addressed, a new test case added.