From ae9753df3a1abe34caf0ebec0a41edf5946f4676 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 13 Oct 2020 12:44:45 +0200 Subject: [PATCH] travis: Specify pytest-rerunfailures==9.1 to avoid regression Seems the recently released version 9.1.1 has regressed, and isn't actually rerunning failed tests. Pinning it to 9.1 seems to work however. --- .travis/build.sh | 2 +- contrib/pyln-testing/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/build.sh b/.travis/build.sh index f2a2cac50..0763972fa 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -54,7 +54,7 @@ if [ "$NO_PYTHON" != 1 ]; then pip3 install --user -U --quiet --progress-bar off \ blinker \ pytest-sentry \ - pytest-rerunfailures + pytest-rerunfailures==9.1 fi echo "Configuration which is going to be built:" diff --git a/contrib/pyln-testing/requirements.txt b/contrib/pyln-testing/requirements.txt index 6dcd672f6..b28809f2d 100644 --- a/contrib/pyln-testing/requirements.txt +++ b/contrib/pyln-testing/requirements.txt @@ -1,4 +1,5 @@ pytest==5.* +pytest-rerunfailures==9.1 Flask==1.1.1 cheroot==8.2.1 ephemeral-port-reserve==1.1.1