Skip to content

Flaky TestValidateLinearizableOperationsTimeoutIsRespected #22257

Description

@Hrishi-Baskaran

Which Github Action / Prow Jobs are flaking?

presubmit unit-test-amd64

Which tests are flaking?

TestValidateLinearizableOperationsTimeoutIsRespected

Github Action / Prow Job link

https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/directory/pull-etcd-unit-test-amd64/2083241535427579904

Reason for failure (if possible)

Test expects that the function runs within a certain elapsed time based on the wall clock:
if elapsed > timeout+250*time.Millisecond {
This is nondeterministic and can fail in heavy CI workflows.

--- FAIL: TestValidateLinearizableOperationsTimeoutIsRespected (1.47s)
    operations_test.go:362: validateLinearizableOperationsAndVisualize(...) does not respect timeout: 1.255761557s, timeout was 1s
FAIL

Anything else we need to know?

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions