Sha256: 04537d2f32dc42955321020912506099a10f9d2ec4078980e2c0eb5574cb0653
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
#!/usr/bin/env bash # Copyright 2020 Couchbase, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -x set -e cbdyncluster info cbdyncluster ps -a CB_VERSION=${CB_VERSION:-6.5.1} CB_RUBY_VERSION=${CB_RUBY_VERSION:-2.7.1} CLUSTER_ID=$(cbdyncluster allocate --num-nodes=3 --server-version=${CB_VERSION}) SERVICES="kv,index,n1ql,fts" cbdyncluster setup ${CLUSTER_ID} \ --bucket=default \ --enable-developer-preview \ --storage-mode=plasma \ --node=${SERVICES} \ --node=${SERVICES} \ --node=${SERVICES} sleep 30 source /usr/local/share/chruby/chruby.sh chruby ruby-${CB_RUBY_VERSION} export COUCHBASE_BACKEND_LOG_LEVEL=debug # CB_TEST_NAME=test_exists_allows_to_check_document_existence if [ ! -z $CB_TEST_NAME ] then export TESTOPTS="--name='/^${CB_TEST_NAME}$/'" fi export TEST_SERVER_VERSION=${CB_VERSION} export TEST_DEVELOPER_PREVIEW=yes export TEST_CONNECTION_STRING=$(cbdyncluster connstr ${CLUSTER_ID}) set +e bundle exec rake test STATUS=$? set -e cbdyncluster rm ${CLUSTER_ID} exit ${STATUS}
Version data entries
4 entries across 4 versions & 1 rubygems