interuss / monitoring

InterUSS Platform USS monitoring tools for federated UTM, including automated testing.
Apache License 2.0
12 stars 19 forks source link

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

Open Shastick opened 2 months ago

Shastick commented 2 months ago

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