Skip to content

Instantly share code, notes, and snippets.

@tahmmee
Created May 15, 2017 17:33
Show Gist options
  • Save tahmmee/f4d2134cdf0eb2928378d40ce1568459 to your computer and use it in GitHub Desktop.
Save tahmmee/f4d2134cdf0eb2928378d40ce1568459 to your computer and use it in GitHub Desktop.
sdk with sync gateway
- include: tests/templates/rebalance.yml
# start gateway
-
image: couchbase/sync-gateway
command: "-url http://{{.Orchestrator}} -bucket {{.Bucket}}"
alias: SYNC_GATEWAY
# start sdk test (async)
-
image: sequoiatools/sdk
command: "-I watson-basic.ini --bucket-password password --install-version {{.Version}} --rebound 90 --testsuite-variants=HYBRID -d all:debug -C share/rexec --rexec_path=/root/sdkd-cpp/sdkd_lcb --rexec_port=8050 --rexec_arg=-l 8050 --rexec_arg=-L log.txt"
alias: SDK_TEST
# do a swap rebalance on the cluster
-
template: rebalance_swap
args: "{{.InActiveNode}}, {{.NthDataNode 1}}"
wait: true
# wait for sdk test to finish
-
before: "{{.Status `SDK_TEST` | eq `exited`}}"
wait: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment