Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Speedup indefinite freeze tests #1194

Merged

Commits on Oct 29, 2020

  1. updater: Add missing Exception documentation

    Added ExpiredMetadataError to function documentation where it seems to
    be missing.
    
    Corrected the refresh() documentation: ExpiredMetadataError can only
    happen when top level metadata does not need to be updated but is
    expired. If the metadata gets updated and is expired, the result will
    be a NoWorkingMirror with ExpiredMetadata inside it.
    
    Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
    Jussi Kukkonen committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    e7ce873 View commit details
    Browse the repository at this point in the history
  2. tests: Remove sleeps from indefinite freeze tests

    Instead of sleeping, mock time.time() so Updater thinks it lives in the
    future.
    
    Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
    Jussi Kukkonen committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    ca048a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. tests: Use version specific import for mock

    Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
    Jussi Kukkonen committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    05cf090 View commit details
    Browse the repository at this point in the history