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

[24.0 backport] un-skip history test and fix golden mismatches #4538

Merged
merged 2 commits into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. un-skip history test and fix golden mismatches

    Signed-off-by: Jason Hall <jason@chainguard.dev>
    (cherry picked from commit f5e224e)
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    imjasonh authored and thaJeztah committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    28a08a2 View commit details
    Browse the repository at this point in the history
  2. force TestNewHistoryCommandSuccess to use UTC timezone

    This test was skipped if the host was not using UTC timezone, because the output
    of timestamps would be different, causing the test to fail.
    
    This patch overrides the TZ env-var to make the test use UTC, so that we don't
    have to skip the test.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    (cherry picked from commit 42ac5d4)
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    b83959e View commit details
    Browse the repository at this point in the history