From cc34135e70d3e61cad51f123bff744b91cd530f7 Mon Sep 17 00:00:00 2001 From: Ace-Tang Date: Tue, 24 Apr 2018 13:36:39 +0800 Subject: [PATCH] test: skip always fail test Signed-off-by: Ace-Tang --- test/cli_rich_container_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/cli_rich_container_test.go b/test/cli_rich_container_test.go index 1401b785f..c41723c41 100644 --- a/test/cli_rich_container_test.go +++ b/test/cli_rich_container_test.go @@ -1,6 +1,7 @@ package main import ( + "encoding/json" "errors" "fmt" "runtime" @@ -10,7 +11,6 @@ import ( "github.com/alibaba/pouch/test/command" "github.com/alibaba/pouch/test/environment" - "encoding/json" "github.com/go-check/check" "github.com/gotestyourself/gotestyourself/icmd" ) @@ -148,6 +148,10 @@ func (suite *PouchRichContainerSuite) TestRichContainerDumbInitWrongArgs(c *chec } // TestRichContainerSbinInitWorks check the initd works. +/* +Comment the test (Ace-Tang). +related issue : https://github.com/alibaba/pouch/issues/960 +related pr: https://github.com/alibaba/pouch/pull/1128 func (suite *PouchRichContainerSuite) TestRichContainerInitdWorks(c *check.C) { pc, _, _, _ := runtime.Caller(0) tmpname := strings.Split(runtime.FuncForPC(pc).Name(), ".") @@ -190,6 +194,7 @@ func (suite *PouchRichContainerSuite) TestRichContainerInitdWorks(c *check.C) { command.PouchRun("rm", "-f", funcname) } +*/ // TestRichContainerSystemdWorks check the systemd works. func (suite *PouchRichContainerSuite) TestRichContainerSystemdWorks(c *check.C) {