Skip to content

Commit

Permalink
RM-1465: ProxySQL 2.7.1
Browse files Browse the repository at this point in the history
https://perconadev.atlassian.net/browse/RM-1465

***
Bump the version to '2.7.1'

***
Fixed the unstable `sync many users` test.

***
Made the testing script to use PXC built with glibc-2.35.
  • Loading branch information
venkatesh-prasad-v committed Oct 18, 2024
1 parent 84f51a6 commit 705818e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion proxysql-common
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
#
# Script parameters/constants
#
readonly PROXYSQL_ADMIN_VERSION="2.6.5"
readonly PROXYSQL_ADMIN_VERSION="2.7.1"

# The minimum required openssl version
readonly REQUIRED_OPENSSL_VERSION="1.1.1"
Expand Down
5 changes: 3 additions & 2 deletions tests/proxysql-admin-testsuite.bats
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,10 @@ fi

time_taken=$((end_time - start_time))

echo "time taken: $time_taken seconds"
# Expected time to process 1000 users is about 25 seconds.
# For this test, lets assume that it takes less than a minute.
[[ $time_taken -le 60 ]]
# For this test, lets assume that it takes less than 2 minutes.
[[ $time_taken -le 120 ]]

echo "$output" >&2
[ "$status" -eq 0 ]
Expand Down
2 changes: 1 addition & 1 deletion tests/setup_workdir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ echo "...Copying done"

if [[ ! $SKIP_DOWNLOAD -eq 1 ]];then
echo "Fetching the PXC tarball packages"
wget -O $WORKDIR/Percona-XtraDB-Cluster_${LATEST_VERSION}_Linux.x86_64.glibc2.17-minimal.tar.gz https://www.percona.com/downloads/Percona-XtraDB-Cluster-LATEST/Percona-XtraDB-Cluster-${LATEST_VERSION}/binary/tarball/Percona-XtraDB-Cluster_${LATEST_VERSION}-${VERSION_SUFFIX}_Linux.x86_64.glibc2.17-minimal.tar.gz
wget -O $WORKDIR/Percona-XtraDB-Cluster_${LATEST_VERSION}_Linux.x86_64.glibc2.35-minimal.tar.gz https://www.percona.com/downloads/Percona-XtraDB-Cluster-LATEST/Percona-XtraDB-Cluster-${LATEST_VERSION}/binary/tarball/Percona-XtraDB-Cluster_${LATEST_VERSION}-${VERSION_SUFFIX}_Linux.x86_64.glibc2.35-minimal.tar.gz
echo "...Successful"
fi

Expand Down

0 comments on commit 705818e

Please sign in to comment.