Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

[19.03 backport] integration-cli: fix swarm tests flakiness #345

Merged
merged 3 commits into from
Sep 16, 2019

Commits on Sep 16, 2019

  1. integration-cli: allow temporary errors on leader switch

    Signed-off-by: Tonis Tiigi <[email protected]>
    (cherry picked from commit 3df1095)
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    tonistiigi authored and thaJeztah committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    c502db4 View commit details
    Browse the repository at this point in the history
  2. integration-cli: allow temporary no-leader error

    Signed-off-by: Tonis Tiigi <[email protected]>
    (cherry picked from commit 52e0dfe)
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    tonistiigi authored and thaJeztah committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    cf05755 View commit details
    Browse the repository at this point in the history
  3. Fix TestSwarmClusterRotateUnlockKey

    TestSwarmClusterRotateUnlockKey had been identified as a flaky test. It
    turns out that the test code was wrong: where we should have been
    checking the string output of a command, we were instead checking the
    value of the error. This means that the error case we were expecting was
    not being matched, and the test was failing when it should have just
    retried.
    
    Signed-off-by: Drew Erny <[email protected]>
    (cherry picked from commit b79adac)
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    dperny authored and thaJeztah committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    c93da8d View commit details
    Browse the repository at this point in the history