Skip to content

chore(backend): ci test flakiness fixes#46

Merged
mcollina merged 1 commit intoplatformatic:mainfrom
rozzilla:chore/backend/ci-test-flakiness-fixes
Mar 26, 2025
Merged

chore(backend): ci test flakiness fixes#46
mcollina merged 1 commit intoplatformatic:mainfrom
rozzilla:chore/backend/ci-test-flakiness-fixes

Conversation

@rozzilla
Copy link
Copy Markdown
Contributor

@rozzilla rozzilla commented Mar 24, 2025

Fixes applied:

  • always define 4 CPU (as by Github docs for standard Linux hosted runners) so that we can always test (either locally and on the CI) with the right amount of CPUs
  • use a more reliable way to check for metrics to be populated rather than a simple wait

Also, tests now take half of the time to be executed:

  • local results (on my laptop) => from duration_ms of 10263.82 to 5034.62
  • CI results => previously 18971.10ms vs now 8374.50ms

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 1fef92b into platformatic:main Mar 26, 2025
1 check passed
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.

2 participants