Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
nisgoel-amazon committed May 3, 2024
1 parent aa95027 commit faa1612
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,8 @@ task integTestRemote (type: RestIntegTestTask) {
systemProperty "tests.cluster.followCluster.total_nodes", "${-> numberOfNodes.toString()}"
systemProperty "tests.cluster.leaderCluster.total_nodes", "${-> numberOfNodes.toString()}"
systemProperty "build.dir", "${buildDir}"
systemProperty "user", System.getProperty("user")
systemProperty "password", System.getProperty("password")

}
filter {
Expand Down
3 changes: 2 additions & 1 deletion scripts/integtest.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ then
while (getline) {
if ($1 ~ "\"" field "\"") {
gsub(/"/, "", $2)
gsub(/ /, "", $2)
print $2
exit
}
Expand Down Expand Up @@ -145,7 +146,7 @@ then
echo "numNodes: $numNodes"


eval "./gradlew integTestRemote -Dleader.http_host=$leader_endpoint:$leader_port -Dfollower.http_host=$follower_endpoint:$follower_port -Dfollower.transport_host=$follower_endpoint:$follower_transport -Dleader.transport_host=$leader_endpoint:$leader_transport -Dsecurity_enabled=$SECURITY_ENABLED -Duser=$USERNAME -Dpassword=$PASSWORD -PnumNodes=$numNodes --console=plain "
./gradlew integTestRemote -Dleader.http_host="$leader_endpoint:$leader_port" -Dfollower.http_host="$follower_endpoint:$follower_port" -Dfollower.transport_host="$follower_endpoint:$follower_transport" -Dleader.transport_host="$leader_endpoint:$leader_transport" -Dsecurity_enabled=$SECURITY_ENABLED -Duser=$USERNAME -Dpassword=$PASSWORD -PnumNodes=$numNodes --console=plain

else
# Single cluster
Expand Down

0 comments on commit faa1612

Please sign in to comment.