Skip to content

Running SDK tests

Tommie McAfee edited this page Apr 26, 2017 · 2 revisions

Sdk workflow

Sequoia can be used to quickly spin up a clean set of containers for use with sdk testing.

Simply run sequoia with the 'sdk' arg and you will get a dockerized version of your test:

./sequoia sdk -command "-I watson-basic.ini 
          --install-skip true --bucket-password password \
          --install-version 5.0.0-2703 --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"

You can run this command as many times as you want and each time new containers will start.

Debugging SDK

If instead you wanted to manually run a sdk test, simply provide the --exec option and you will have a debeugging environment to run your tests:

./sequoia sdk -command "-I watson-basic.ini" --exec
Clone this wiki locally