-
- Downloads
test: add an internal lib for running flaky tests (#1398)
This change adds an internal utility library for running flaky tests with built-in support for incremental backoff retries. This can be used by packages within this repository by importing `internal/test` and invoking it as such: func SomeTest(t *testing.T) { f := test.NewFlaky(t, &test.FlakyOptions{ // define options here ... }) f.Run(func(t testing.TB) { // original test logic here ... } } Change-Id: I8c6138c39c381bcee408ea6b7fe9d9b6eeb48fed
Loading