Update deployment and integration test

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2019-09-16 20:30:05 -07:00
parent 5a68bd70c8
commit 35eb96d901
7 changed files with 152 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ func TestTruncIndex(t *testing.T) {
assert.Equal(t, sb, sbStatus.Id)
t.Logf("Forward port for sandbox by truncindex")
_, err = runtimeService.PortForward(&runtimeapi.PortForwardRequest{sbTruncIndex, []int32{80}})
_, err = runtimeService.PortForward(&runtimeapi.PortForwardRequest{PodSandboxId: sbTruncIndex, Port: []int32{80}})
assert.NoError(t, err)
// TODO(yanxuean): add test case for ListPodSandbox