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

Temporal: Prevent arbitrary loops in NormalizedTimeDurationToDays #3999

Merged
merged 1 commit into from
Feb 2, 2024

Commits on Feb 2, 2024

  1. Temporal: Prevent arbitrary loops in NormalizedTimeDurationToDays

    Adapts the tests that checked arbitrarily long loops, to now check that an
    exception is thrown if the loop would happen.
    
    Adds tests that exercise the newly added checks on return values of
    getPossibleInstantsFor and getOffsetNanosecondsFor that limit UTC offset
    shifts to 24 hours or less.
    
    Also updates some step numbers in related tests.
    ptomato committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    c731fd4 View commit details
    Browse the repository at this point in the history