Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add attempts to performance test #1414

Merged
merged 2 commits into from
Dec 18, 2020
Merged

Conversation

jan-goral
Copy link
Contributor

This is another fix for the test issue https://github.com/Flank/flank/runs/1576759651?check_suite_focus=true, |
because the previous one (#1413) was not enough.

The UT performance calculateShardsByTime seems to be flaky because the results depend on CPU performance and usage.

My proposition is to rerun shards calculation if run time in ms grater than expected or attempt number not reached max value.

Copy link
Contributor

@pawelpasterz pawelpasterz left a comment

Choose a reason for hiding this comment

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

Just small nits.

test_runner/src/test/kotlin/ftl/shard/ShardTest.kt Outdated Show resolved Hide resolved
test_runner/src/test/kotlin/ftl/shard/ShardTest.kt Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

Timestamp: 2020-12-18 17:59:03
Buildscan url for ubuntu-workflow run 431030957
https://gradle.com/s/u6dqfl2z4uhoi

@pawelpasterz pawelpasterz enabled auto-merge (squash) December 18, 2020 18:05
@pawelpasterz pawelpasterz merged commit 780cf28 into master Dec 18, 2020
@pawelpasterz pawelpasterz deleted the fix-test-performance-v2 branch December 18, 2020 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants