Skip to content

Commit

Permalink
Add recovery tests
Browse files Browse the repository at this point in the history
In depth testing of the recovery mechanism during a rolling restart.
Based on org.elasticsearch.upgrades.RecoveryIT.java
  • Loading branch information
mkleen committed Oct 29, 2020
1 parent 1124a19 commit 8044546
Show file tree
Hide file tree
Showing 3 changed files with 638 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipeline {
steps {
checkout scm
sh 'rm -rf env'
sh '/usr/bin/python3.7 -m venv env'
sh '/usr/bin/python3.8 -m venv env'
sh 'env/bin/python -m pip install -U mypy flake8'
sh 'find tests -name "*.py" | xargs env/bin/mypy --ignore-missing-imports'
sh 'find src -name "*.py" | xargs env/bin/mypy --ignore-missing-imports'
Expand All @@ -24,9 +24,9 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U -e .
python3.8 -m pip install -U -e .
jabba install $JDK_11
export JAVA_HOME=$(jabba which --home $JDK_11)
Expand All @@ -41,7 +41,7 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U -e .
Expand All @@ -58,7 +58,7 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U -e .
Expand All @@ -75,7 +75,7 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U -e .
Expand All @@ -93,7 +93,7 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U -e .
Expand Down Expand Up @@ -130,7 +130,7 @@ pipeline {
checkout scm
sh '''
rm -rf env
/usr/bin/python3.7 -m venv env
/usr/bin/python3.8 -m venv env
source env/bin/activate
python -m pip install -U cr8
jabba install $JDK_11
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read(filename):
packages=['crate.qa'],
namespace_packages=['crate'],
install_requires=[
'cr8>=0.16.0',
'cr8>=0.20.0',
'Cython',
'asyncpg>=0.18.2, < 0.20',
'pyodbc',
Expand Down
Loading

0 comments on commit 8044546

Please sign in to comment.