Skip to content

ngtests: add tests toggling consistent snapshot #1667

Description

@sechkova

Description of issue or feature request:
Currently different configurations of consistent_snapshot, prefix_targets_with_hash are tested in test_updater_ng.py which uses pre-generated test files.

After adding support for non-consistent snapshot #1637, analyze what would be meaningful consistent snapshot tests that preferably don't duplicate the tests code for each config and implement them using RepositorySimulator.

Activity

  1. jku commented on Nov 10, 2021

    @jku
    Member

    After adding support for non-consistent snapshot #1637, analyze what would be meaningful consistent snapshot tests that preferably don't duplicate the tests code

    Sounds good.
    I think it's reasonable to concentrate testing on

    • consistent_snapshot with consistent targets
    • consistent_snapshot without consistent targets (the special case for warehouse)

    and leave the non-consistent_snapshot case with just the minimum tests to verify it works: everyone should be using consistent_snapshot, we only support the other case because the spec still allows it.

  2. added
    backlogIssues to address with priority for current development goals
    on Nov 10, 2021
  3. added this to the Sprint 12 milestone on Nov 10, 2021
  4. self-assigned this
    on Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backlogIssues to address with priority for current development goalstesting

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions