Sha256: e4466f22fd17d139e654a15397f2647506f30909a5f0f99260eb26b2d63f4d4c
Contents?: true
Size: 1 KB
Versions: 79
Compression:
Stored size: 1 KB
Contents
# Enabling access bewteen SUTs during an acceptance test run If you are running acceptance tests for Beaker that, at some point, will perform one of the following: * SSH between SUTs * Clone private repos You will need to run an SSH agent, and add the SSH key for accessing your SUTs/private repos, prior to running the tests. To load the SSH agent and add your SSH key, run the following: ~~~bash eval `ssh-agent` ssh-add <SSH key file path> ~~~ A common example of where this functionality would be required for beaker developers, is in testing subcommands. There, we setup multiple SUTs that need to communicate between themselves. To run our subcommand testing to verify that you have agent forwarding setup correctly, run the following: ~~~bash beaker --tests acceptance/tests/subcommands/ --log-level debug --preserve-hosts onfail --pre-suite acceptance/pre_suite/subcommands/ --load-path acceptance/lib --keyfile ~/.ssh/id_rsa-acceptance ~~~ And Beaker will be able to SSH between SUTs and clone private repos
Version data entries
79 entries across 79 versions & 1 rubygems