diff --git a/README.md b/README.md index 769962654..422912423 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Social Media: ## Goss in 45 seconds **Note:** For an even faster way of doing this, see: [autoadd](https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#autoadd-aa---auto-add-all-matching-resources-to-test-suite) +**Note:** For some Docker usecases, see my blog post: [here](url_to_blog) asciicast diff --git a/validate.go b/validate.go index b9098c252..3f4befcd3 100644 --- a/validate.go +++ b/validate.go @@ -69,6 +69,8 @@ func Validate(c *cli.Context, startTime time.Time) { os.Exit(3) } color.Red("Retrying in %s (elapsed/timeout time: %.3fs/%s)\n\n\n", sleep, elapsed.Seconds(), retryTimeout) + // Reset cache + sys = system.New(c) time.Sleep(sleep) i++ fmt.Printf("Attempt #%d:\n", i)