Skip to content

Commit

Permalink
Merge branch 'bug_19569/prevent_race_condition_in_relayd_tests_pr' in…
Browse files Browse the repository at this point in the history
…to branches/rudder/6.1
  • Loading branch information
amousset committed Jul 26, 2021
2 parents af71772 + 2d633ad commit 71e771c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ pipeline {
// System dependencies: libpq-dev postgresql
dir('relay/sources/relayd') {
sh script: 'typos --exclude "*.pem"', label: 'check typos'
sh script: 'make check', label: 'relayd tests'
// lock the database to avoid race conditions between parallel tests
lock('test-relayd-postgresql') {
sh script: 'make check', label: 'relayd tests'
}
sh script: 'make clean', label: 'relayd clean'
}
}
Expand Down

0 comments on commit 71e771c

Please sign in to comment.