diff --git a/scripts/integtest.sh b/scripts/integtest.sh index 0d64d05a..39d94c73 100644 --- a/scripts/integtest.sh +++ b/scripts/integtest.sh @@ -70,17 +70,9 @@ then SECURITY_ENABLED="true" fi -OPENSEARCH_REQUIRED_VERSION="2.12.0" - if [ -z "$CREDENTIAL" ] then - # Starting in 2.12.0, security demo configuration script requires an initial admin password - COMPARE_VERSION=`echo $OPENSEARCH_REQUIRED_VERSION $OPENSEARCH_VERSION | tr ' ' '\n' | sort -V | uniq | head -n 1` - if [ "$COMPARE_VERSION" != "$OPENSEARCH_REQUIRED_VERSION" ]; then - CREDENTIAL="admin:admin" - else - CREDENTIAL="admin:myStrongPassword123!" - fi + CREDENTIAL="admin:admin" # CCR uses custom setup and hence doesn't require custom password fi USERNAME=`echo $CREDENTIAL | awk -F ':' '{print $1}'`