Code review comment for ~canonical-is-bootstack/charm-telegraf/+git/telegraf-charm:bug/1877284-func

Revision history for this message
Alvaro Uria (aluria) wrote :

As we talked, I've also added a try-except for requests.get. If HTTP return code is != 200, test will fail. However, network issues may be unrelated to telegraf, hence we loop through DEFAULT_RETRIES (12 times).

« Back to merge proposal