Skip to content

Use monotonic clock in tests#1447

Merged
chensuyue merged 2 commits intoopea-project:mainfrom
eero-t:monotonic
Jun 3, 2025
Merged

Use monotonic clock in tests#1447
chensuyue merged 2 commits intoopea-project:mainfrom
eero-t:monotonic

Conversation

@eero-t
Copy link
Copy Markdown
Contributor

@eero-t eero-t commented Mar 24, 2025

Description

Use monotonic clock in tests.

Issues

Monotonic clock usage avoids potential AIO test problem with clock jumps, and makes orchestrator test consistent with earlier metrics change in #1301.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Dependencies

n/a

Tests

CI.

Related PRs

Base statistics test clock usage is updated as part of #1107.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

To avoid problems with clock jumps with AIO test, and make
orchestrator test consistent with earlier metrics change:
opea-project#1301

Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
@eero-t
Copy link
Copy Markdown
Contributor Author

eero-t commented May 30, 2025

As this is approved & CI passes, could somebody merge it?

@chensuyue chensuyue merged commit caadb8d into opea-project:main Jun 3, 2025
15 checks passed
@eero-t eero-t deleted the monotonic branch June 3, 2025 11:16
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

Successfully merging this pull request may close these issues.

4 participants