summaryrefslogtreecommitdiffhomepage
path: root/runsc/test
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-03-19 17:32:23 -0700
committerShentubot <shentubot@google.com>2019-03-19 17:33:20 -0700
commit87cce0ec08b9d629a5e3a88be411b1721d767301 (patch)
tree86c7f3b29933a86a1b7efb22694fb8413c70e780 /runsc/test
parent7b33df68450bdb9519cf650a8d92fa4a81f37fa0 (diff)
netstack: reduce MSS from SYN to account tcp options
See: https://tools.ietf.org/html/rfc6691#section-2 PiperOrigin-RevId: 239305632 Change-Id: Ie8eb912a43332e6490045dc95570709c5b81855e
Diffstat (limited to 'runsc/test')
-rw-r--r--runsc/test/README.md2
-rw-r--r--runsc/test/root/crictl_test.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/runsc/test/README.md b/runsc/test/README.md
index 5929cbeb6..f22a8e017 100644
--- a/runsc/test/README.md
+++ b/runsc/test/README.md
@@ -12,13 +12,11 @@ they may need extra setup in the test machine and extra configuration to run.
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 \
diff --git a/runsc/test/root/crictl_test.go b/runsc/test/root/crictl_test.go
index 556d95fff..37fe53ba3 100644
--- a/runsc/test/root/crictl_test.go
+++ b/runsc/test/root/crictl_test.go
@@ -36,6 +36,7 @@ import (
// Tests for crictl have to be run as root (rather than in a user namespace)
// because crictl creates named network namespaces in /var/run/netns/.
+
func TestCrictlSanity(t *testing.T) {
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)
@@ -58,6 +59,7 @@ func TestCrictlSanity(t *testing.T) {
t.Fatal(err)
}
}
+
func TestMountPaths(t *testing.T) {
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)
@@ -80,6 +82,7 @@ func TestMountPaths(t *testing.T) {
t.Fatal(err)
}
}
+
func TestMountOverSymlinks(t *testing.T) {
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)