Skip to content

Commit d506367

Browse files
authored
Merge pull request #477 from datastax/v2.15.2
v2.15.2
2 parents 6875ae3 + 468acca commit d506367

10 files changed

+1041
-97
lines changed

.build.linux.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
##
1717

18-
configure_environment() {
18+
configure_testing_environment() {
1919
if ! grep -lq "127.254.254.254" /etc/hosts; then
2020
printf "\n\n%s\n" "127.254.254.254 cpp-driver.hostname." | sudo tee -a /etc/hosts
2121
fi
@@ -33,7 +33,7 @@ install_libuv() {(
3333
[[ -d build ]] && rm -rf build
3434
mkdir build
3535

36-
if [ "${OS_NAME}" = "ubuntu" ]; then
36+
if [ "${OS_DISTRO}" = "ubuntu" ]; then
3737
./build_deb.sh ${LIBUV_VERSION}
3838
else
3939
./build_rpm.sh ${LIBUV_VERSION}
@@ -43,7 +43,7 @@ install_libuv() {(
4343
[[ -d packages ]] || mkdir packages
4444
find libuv-packaging/build -type f \( -name "*.deb" -o -name "*.rpm" \) -exec mv {} packages \;
4545

46-
if [ "${OS_NAME}" = "ubuntu" ]; then
46+
if [ "${OS_DISTRO}" = "ubuntu" ]; then
4747
sudo dpkg -i packages/libuv*.deb
4848
else
4949
sudo rpm -U --force packages/libuv*.rpm
@@ -66,7 +66,7 @@ install_driver() {(
6666
[[ -d build ]] && rm -rf build
6767
mkdir build
6868

69-
if [ "${OS_NAME}" = "ubuntu" ]; then
69+
if [ "${OS_DISTRO}" = "ubuntu" ]; then
7070
./build_deb.sh
7171
else
7272
./build_rpm.sh
@@ -76,7 +76,7 @@ install_driver() {(
7676
[[ -d packages ]] || mkdir packages
7777
find build -type f \( -name "*.deb" -o -name "*.rpm" \) -exec mv {} packages \;
7878

79-
if [ "${OS_NAME}" = "ubuntu" ]; then
79+
if [ "${OS_DISTRO}" = "ubuntu" ]; then
8080
sudo dpkg -i packages/*cpp-driver*.deb
8181
else
8282
sudo rpm -i packages/*cpp-driver*.rpm

.build.osx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
##
1717

18-
configure_environment() {
18+
configure_testing_environment() {
1919
true
2020
}
2121

.build.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@
2020
#set -n #Check Syntax
2121
set -e #Fail fast on non-zero exit status
2222

23-
WORKER_INFORMATION=($(echo ${OS_VERSION} | tr "/" " "))
24-
OS_NAME=${WORKER_INFORMATION[0]}
25-
RELEASE=${WORKER_INFORMATION[1]}
26-
SHA=$(echo ${GIT_COMMIT} | cut -c1-7)
27-
2823
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
29-
if [ "${OS_NAME}" = "osx" ]; then
24+
25+
if [ "${OS_DISTRO}" = "osx" ]; then
3026
LIB_SUFFIX="dylib"
3127
PROCS=$(sysctl -n hw.logicalcpu)
3228
. ${SCRIPT_DIR}/.build.osx.sh

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2.15.2
2+
===========
3+
4+
Bug Fixes
5+
--------
6+
* [CPP-917] Infinite loop in token map calculation when using SimpleStrategy and RF > number of
7+
nodes
8+
9+
Community
10+
--------
11+
* Fix compatibility with OpenSSL 1.1 (SeverinLeonhardt)
12+
113
2.15.1
214
===========
315

0 commit comments

Comments
 (0)