[hyper-provider] update hypercli in vendor

This commit is contained in:
Jimmy Xu
2017-12-22 00:30:03 +08:00
parent 1b3d6eae82
commit a6a6267863
200 changed files with 451 additions and 675 deletions

View File

@@ -15,7 +15,6 @@ import (
const attachWait = 5 * time.Second
//FIXME: attach initialize unproperly? and return empty string?
func (s *DockerSuite) TestAttachMultipleAndRestart(c *check.C) {
testRequires(c, DaemonIsLinux)
@@ -155,4 +154,4 @@ func (s *DockerSuite) TestAttachDisconnect(c *check.C) {
// Expect container to still be running after stdin is closed
running := inspectField(c, id, "State.Running")
c.Assert(running, check.Equals, "true")
}
}

View File

@@ -6,7 +6,7 @@ import (
//"bufio"
"os/exec"
//"strings"
"time"
"time"
//"fmt"
"github.com/docker/docker/pkg/integration/checker"
@@ -84,6 +84,7 @@ func (s *DockerSuite) TestAttachAfterDetach(c *check.C) {
c.Assert(string(bytes[:nBytes]), checker.Contains, "/ #")
}
/*
//FIXME:#issue77
// TestAttachDetach checks that attach in tty mode can be detached using the long container ID
@@ -194,4 +195,4 @@ func (s *DockerSuite) TestAttachDetachTruncatedID(c *check.C) {
}
}
*/
*/

View File

@@ -12,7 +12,6 @@ import (
"github.com/go-check/check"
)
// regression gh14320
func (s *DockerSuite) TestPostContainersAttachContainerNotFound(c *check.C) {
status, body, err := sockRequest("POST", "/containers/doesnotexist/attach", nil)

View File

@@ -10,8 +10,8 @@ import (
"time"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
"github.com/go-check/check"
"github.com/hyperhq/hyper-api/types"
)
func (s *DockerSuite) TestContainerApiGetAll(c *check.C) {

View File

@@ -96,7 +96,6 @@ func (s *DockerSuite) TestStatsAllNoStream(c *check.C) {
}
}
// NEED TO BE FIXED
func (s *DockerSuite) TestStatsAllNewContainersAdded(c *check.C) {
// Windows does not support stats