gvisor/runsc/test
Kevin Krakauer 43dff57b87 Make raw sockets a toggleable feature disabled by default.
PiperOrigin-RevId: 245511019
Change-Id: Ia9562a301b46458988a6a1f0bbd5f07cbfcb0615
2019-04-26 16:51:46 -07:00
..
image Remove license comments 2019-01-31 11:12:53 -08:00
integration Make raw sockets a toggleable feature disabled by default. 2019-04-26 16:51:46 -07:00
root netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
testutil Make raw sockets a toggleable feature disabled by default. 2019-04-26 16:51:46 -07:00
README.md netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
install.sh Use correct company name in copyright header 2018-10-19 16:35:11 -07:00

README.md

Tests

The tests defined under this path are verifying functionality beyond what unit tests can cover, e.g. integration and end to end tests. Due to their nature, they may need extra setup in the test machine and extra configuration to run.

  • integration: defines integration tests that uses docker run to test functionality.
  • image: basic end to end test for popular images.
  • root: tests that require to be run as root.
  • testutil: utilities library to support the tests.

The following setup steps are required in order to run these tests:

 `./runsc/test/install.sh [--runtime <name>]`

The tests expect the runtime name to be provided in the RUNSC_RUNTIME environment variable (default: runsc-test). To run the tests execute:

bazel test --test_env=RUNSC_RUNTIME=runsc-test \
  //runsc/test/image:image_test \
  //runsc/test/integration:integration_test