Documentation ¶ Index ¶ func WaitFor(check func() bool, maxAttempts int, timeout time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WaitFor ¶ func WaitFor(check func() bool, maxAttempts int, timeout time.Duration) error WaitFor retries a check function up to maxAttempts times with an exponential backoff, starting at the given timeout. It returns an error if the check does not return true after all attempts. Types ¶ This section is empty. Source Files ¶ View all Source files util.go Directories ¶ Show internal Expand all Path Synopsis otel oteltest Click to show internal directories. Click to hide internal directories.