This repository was archived by the owner on Dec 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,37 @@ logs from the first failed container. You must stop the nodes with
3737dangling container and re-execute tests once you have fixed and rebuilt the
3838testbed image.
3939
40+ ## QuickStart
41+
42+ 1 . Build the testbed image that has the source and binaries to execute the integration tests.
43+ 2 . Run the testing script.
44+
45+ ``` bash
46+ > devenv$ cd integration
47+ > devenv/integration$ ./bin/build
48+ > cd -
49+ > devenv$ ./integration/bin/test
50+ ```
51+
52+ You will see lines like below if your tests completed succesfully.
53+
54+ ```
55+ Runner: 71c1beca7261e2c1b706fa0e9eeb3823ad56977c4846c89b25a315a48a1bbda5 exited with err_no: 0
56+ Runner: fb2da5362115b5ae37874d39831bbf249b2928c58296dfb23af94b7083d8455b exited with err_no: 0
57+ ```
58+
59+ Use the container id to inspect the runner for more details.
60+
61+ ```
62+ > devenv$ ./logs.sh 71c1beca7261e2c1b706fa0e9eeb3823ad56977c4846c89b25a315a48a1bbda5
63+ ```
64+
65+ the script will abort the moment a container fails. The script will print the
66+ logs from the first failed container. You will need to stop the nodes yourself
67+ with ` docker stop $(docker ps -qa) ` . You can also run ` test ` again to down and
68+ up again any dangling container and reexecute tests once you have fixed and
69+ rebuilt the testbed image.
70+
4071### Running integration tests.
4172
4273Start at devenv, ` pushd ` integration. You will find scripts in the ` bin ` folder
You can’t perform that action at this time.
0 commit comments