Fix a bug in mirror pod node e2e test.

This commit is contained in:
coufong 2016-07-14 14:47:14 -07:00 committed by Zhou Fang
parent 30c43e63af
commit 8a4c394ede

View File

@ -17,6 +17,7 @@ limitations under the License.
package e2e_node package e2e_node
import ( import (
goerrors "errors"
"fmt" "fmt"
"os" "os"
"path/filepath" "path/filepath"
@ -160,7 +161,7 @@ func checkMirrorPodDisappear(cl *client.Client, name, namespace string) error {
if errors.IsNotFound(err) { if errors.IsNotFound(err) {
return nil return nil
} }
return err return goerrors.New("pod not disappear")
} }
func checkMirrorPodRunning(cl *client.Client, name, namespace string) error { func checkMirrorPodRunning(cl *client.Client, name, namespace string) error {