You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by md...@apache.org on 2022/05/19 18:42:44 UTC

[solr] 02/02: SOLR-16206: bats require minimum version 1.5.0

This is an automated email from the ASF dual-hosted git repository.

mdrob pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit b86728c79ffab8d80a000dbab25dd2d7cce3b092
Author: Mike Drob <md...@apache.org>
AuthorDate: Thu May 19 13:40:35 2022 -0500

    SOLR-16206: bats require minimum version 1.5.0
---
 solr/packaging/test/bats_helper.bash | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/packaging/test/bats_helper.bash b/solr/packaging/test/bats_helper.bash
index 99f92ded39c..d408af72808 100644
--- a/solr/packaging/test/bats_helper.bash
+++ b/solr/packaging/test/bats_helper.bash
@@ -20,6 +20,8 @@
 #   The SOLR_HOME directory will be cleared when the next test file is executed.
 # - "setup" should use "common_setup" if a Solr process is NOT being started in that same "setup" function.
 common_setup() {
+    bats_require_minimum_version 1.5.0
+
     if [ -z ${BATS_LIB_PREFIX:-} ]; then
         # Debugging help, if you want to run bats directly, try to detect where libraries might be
         if brew list bats-core; then