Skip to content

Commit

Permalink
Merge pull request #477 from datastax/v2.15.2
Browse files Browse the repository at this point in the history
v2.15.2
  • Loading branch information
mpenick authored May 12, 2020
2 parents 6875ae3 + 468acca commit d506367
Show file tree
Hide file tree
Showing 10 changed files with 1,041 additions and 97 deletions.
10 changes: 5 additions & 5 deletions .build.linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
##

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

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

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

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

if [ "${OS_NAME}" = "ubuntu" ]; then
if [ "${OS_DISTRO}" = "ubuntu" ]; then
sudo dpkg -i packages/*cpp-driver*.deb
else
sudo rpm -i packages/*cpp-driver*.rpm
Expand Down
2 changes: 1 addition & 1 deletion .build.osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
##

configure_environment() {
configure_testing_environment() {
true
}

Expand Down
8 changes: 2 additions & 6 deletions .build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@
#set -n #Check Syntax
set -e #Fail fast on non-zero exit status

WORKER_INFORMATION=($(echo ${OS_VERSION} | tr "/" " "))
OS_NAME=${WORKER_INFORMATION[0]}
RELEASE=${WORKER_INFORMATION[1]}
SHA=$(echo ${GIT_COMMIT} | cut -c1-7)

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
if [ "${OS_NAME}" = "osx" ]; then

if [ "${OS_DISTRO}" = "osx" ]; then
LIB_SUFFIX="dylib"
PROCS=$(sysctl -n hw.logicalcpu)
. ${SCRIPT_DIR}/.build.osx.sh
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2.15.2
===========

Bug Fixes
--------
* [CPP-917] Infinite loop in token map calculation when using SimpleStrategy and RF > number of
nodes

Community
--------
* Fix compatibility with OpenSSL 1.1 (SeverinLeonhardt)

2.15.1
===========

Expand Down
Loading

0 comments on commit d506367

Please sign in to comment.