Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky tests in CircleCI #37

Open
indradhanush opened this issue May 30, 2018 · 0 comments
Open

Flaky tests in CircleCI #37

indradhanush opened this issue May 30, 2018 · 0 comments

Comments

@indradhanush
Copy link
Contributor

In one instance, the test failed by timing out for one of the statements to return. Rebuilding it fixed the problem.

This is the build in question: https://circleci.com/gh/kinvolk/habitat-service-broker/98

And the timed out statement from broker_tests.go:

	if err := wait.Poll(time.Second, time.Minute*1, func() (bool, error) {
		val, err = redisClient.Get(redisKey).Result()
		if err == nil {
			return true, nil
		}

		return false, nil
	}); err != nil {
		t.Fatal(err)
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant