Skip to content

Commit

Permalink
fix: changed xlinectl to etcdctl
Browse files Browse the repository at this point in the history
Signed-off-by: bhavik-goplani <56516858+bhavik-goplani@users.noreply.github.com>
  • Loading branch information
bhavik-goplani committed Jul 9, 2024
1 parent cd06a6a commit 27dace1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/validation_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ source $DIR/log.sh
QUICK_START="${DIR}/quick_start.sh"
ETCDCTL="docker exec -i client etcdctl --endpoints=http://172.20.0.3:2379,http://172.20.0.4:2379"

XLINECTL="${DIR}/../target/debug/xlinectl"

bash ${QUICK_START}

stop() {
Expand Down Expand Up @@ -274,10 +272,10 @@ lock_validation() {
run "${ETCDCTL} lock mutex echo success"
check_positive "success"

run "${XLINECTL} lock mutex echo success"
run "${ETCDCTL} lock mutex echo success"
check_positive "success"

run "${XLINECTL} lock mutex ${XLINECTL} put key1 value1"
run "${ETCDCTL} lock mutex ${ETCDCTL} put key1 value1"
check_positive "OK"

log::info "lock validation test passed"
Expand Down

0 comments on commit 27dace1

Please sign in to comment.