gvisor/runsc/test
Fabricio Voznika ba33a70e47 Attempt to deflake TestPythonHello
It has timed out running with kokoro a few times. I passes
consistently on my machine (200+ runsc). Increase the timeout
to see if it helps.

Failure: image_test.go:212: WaitForHTTP() timeout: Get http://localhost:32785/: dial tcp [::1]:32785: connect: connection refused
PiperOrigin-RevId: 217532428
Change-Id: Ibf860aecf537830bef832e436f2e804b3fc12f2d
2018-10-17 09:31:00 -07:00
..
image Attempt to deflake TestPythonHello 2018-10-17 09:31:00 -07:00
integration Bump Pause/Resume integration test timeout in attempt to deflake Kokoro. 2018-10-17 09:09:29 -07:00
root Sandbox cgroup tests 2018-10-11 11:58:15 -07:00
testutil Sandbox cgroup tests 2018-10-11 11:58:15 -07:00
README.md Fix sandbox chroot 2018-10-03 20:44:20 -07:00
install.sh Make debug log file name configurable 2018-10-11 14:29:37 -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