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:22 UTC

[solr] branch main updated: 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 main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e0859fdc4f SOLR-16206: bats require minimum version 1.5.0
7e0859fdc4f is described below

commit 7e0859fdc4f2292c16b9b4eeca0dc2b1c2c011b6
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