Skip to content

tests(fix): wait_until_change_detection_event_completes to count#2974

Merged
georglauterbach merged 1 commit intodocker-mailserver:masterfrom
polarathene:tests/fix-change-detection-helper
Jan 4, 2023
Merged

tests(fix): wait_until_change_detection_event_completes to count#2974
georglauterbach merged 1 commit intodocker-mailserver:masterfrom
polarathene:tests/fix-change-detection-helper

Conversation

@polarathene
Copy link
Copy Markdown
Member

Description

Follow-up to a recent PR for improving processing time of a change event: #2947 (comment)

The CI was not as slow as expected, so here is the proper fix (at least I believe this should be reliable?):

Counting and comparing this observation instead is simpler, and more reliable at detecting change events that start and complete very quickly (within the same second).

Fixes #2966
Closes #2971

Type of change

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

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes

Counting and comparing this observation instead is simpler, and more reliable at detecting change events that start and complete very quickly (_within the same second_)
@georglauterbach georglauterbach enabled auto-merge (squash) January 4, 2023 07:26
@georglauterbach georglauterbach merged commit b7bad82 into docker-mailserver:master Jan 4, 2023
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.

[BUG] Weird but semi-consistent test failures

3 participants