Skip to content

Flaky test: GaugeTest.testTimer on Java 25 #1972

@zeitlinger

Description

@zeitlinger

Description

GaugeTest.testTimer fails on Java 25 with a timing assertion that's
too tight:

Expecting actual:
  0.101583116
to be close to:
  0.012

at line 91. The test expects ~12ms but the timer measured ~101ms — likely
a scheduling delay on CI.

Suggested fix

Use a more generous tolerance or assert > 0 rather than closeness to
a specific wall-clock duration.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions