Make Service e2e run a bit faster

This commit is contained in:
Tim Hockin
2015-09-29 14:30:45 -07:00
parent 0aa5c16f38
commit a51ba71a65
3 changed files with 170 additions and 242 deletions

View File

@@ -39,9 +39,7 @@ var prom_registered = false
// Reusable function for pushing metrics to prometheus. Handles initialization and so on.
func promPushRunningPending(running, pending int) error {
if testContext.PrometheusPushGateway == "" {
Logf("Ignoring prom push, push gateway unavailable")
return nil
} else {
// Register metrics if necessary