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

tests: Add target support to RepositorySimulator #1587

Merged
merged 2 commits into from
Sep 27, 2021

Commits on Sep 24, 2021

  1. tests: Add target support to RepositorySimulator

    * Add very simple targets support into simulator
    * Add documentation for the simulator
    * Add an example targets test
    
    This might need to be tweaked and/or extended as we add tests but the
    implementation should give a good indication of how to extend it.
    
    As an example, non-consistent targets are not yet supported, but
    making fetch() check for the consistent_snapshot state and respond
    accordingly should be easy.
    
    Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
    Jussi Kukkonen committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    1fb4204 View commit details
    Browse the repository at this point in the history
  2. tests: Improve the docs on RepositorySimulator

    The handling of consistent snapshot was not very clear: try to make
    it more obvious what is supported and what is not.
    
    Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
    Jussi Kukkonen committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    59b0b99 View commit details
    Browse the repository at this point in the history