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

Reduce test polling speed some to reduce flakiness #1745

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

matthchr
Copy link
Member

Obivously this isn't the ideal way to do things, but I can't think of another "easy" fix. The real solution is to stop modifying status and spec at the same time, but I believe in order to do that we need to move some fields out of Spec and into Status, which will take some effort. This should unblock us for now.

@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #1745 (46ecb5d) into master (55d7d52) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1745   +/-   ##
=======================================
  Coverage   70.96%   70.96%           
=======================================
  Files         227      227           
  Lines       16135    16135           
=======================================
  Hits        11450    11450           
  Misses       3850     3850           
  Partials      835      835           
Impacted Files Coverage Δ
...ted/pkg/reconcilers/azure_deployment_reconciler.go 68.75% <ø> (ø)
.../generated/pkg/testcommon/kube_per_test_context.go 83.33% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba7ac7b...46ecb5d. Read the comment docs.

// TODO: updating resource: Operation cannot be fulfilled: the object has been modified; please apply your changes to the latest version and try again.
// TODO: This happens when the test sees a Status update and makes an update to the resource while racing with the Spec update
// TODO: in azure_deployment_reconciler CommitUpdate. If we fix https://github.com/Azure/azure-service-operator/issues/1744 we can reduce this
// TODO: further.
Copy link
Member

Choose a reason for hiding this comment

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

Minor ambiguity - does "reduce this further" mean "reduce the time between polling" or "reduce how often we poll"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed (I think).

@matthchr matthchr changed the title Increase test polling speed some to reduce flakiness Reduce test polling speed some to reduce flakiness Aug 24, 2021
@matthchr matthchr merged commit ae76dcd into Azure:master Aug 24, 2021
@matthchr matthchr deleted the feature/test-fixes branch August 24, 2021 20:42
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.

3 participants