Skip to content

test_restored_packages_retry is brittle #2827

Closed

Description

@valentinewallace

test_restored_packages_retry broke in #2288 and again in #2697.

Per #2697 (comment), it will break every time we add a fetch for random bytes on startup.

To fix this, make the random bytes deterministic within the test using TestKeysInterface::override_random_bytes and regenerate the monitor by logging it in the parent commit of a3b416a#diff-6b0cbdb9c86bfc52581a89ea5c23454f692199b2192be965f34a47429b3cf912R1748, right above the linked test line.

Activity

  1. Harsh1s commented on Jan 17, 2024

    @Harsh1s

    Hi there, I've solved this issue on my local repo. Just wanted to ask if I can make a PR right away or do I need to be assigned the issue?

  2. valentinewallace commented on Jan 17, 2024

    @valentinewallace
    ContributorAuthor

    Hi there, I've solved this issue on my local repo. Just wanted to ask if I can make a PR right away or do I need to be assigned the issue?

    Feel free to open a PR!

  3. added 3 commits that reference this issue on Jan 17, 2024
    8d15e4e
    547673c
    600f3a0
  4. TheBlueMatt commented on Sep 9, 2024

    @TheBlueMatt
    Collaborator

    Note that #3302 improves this a bit, even if it doesn't fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions