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

[uss_qualifier] add a default margin when querying interactions from mock_uss #757

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Shastick
Copy link
Contributor

Under certain circumstances, even a slight clock skew can break qualifier scenarios that check for mock_uss interactions, depending on how tightly they set their time bounds.

This PR adds a default 5 seconds buffer to interaction queries made via the mock_uss_interactions utility method.

Callers that need to disable this behavior may do so by passing include_clock_skew_buffer = False.

For an example of clock skew breaking scenarios, see here

@Shastick Shastick force-pushed the interaction-logs-buffer branch from b9af7ca to e0ca9b8 Compare August 21, 2024 09:38
@Shastick Shastick force-pushed the interaction-logs-buffer branch from e0ca9b8 to d966bd6 Compare August 21, 2024 09:52
@Shastick Shastick marked this pull request as draft August 21, 2024 09:54
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.

1 participant