Skip to content

Commit

Permalink
validate: fix container with log test
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
  • Loading branch information
runcom committed Nov 20, 2017
1 parent e7a6236 commit b2e69a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/validate/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ var _ = framework.KubeDescribe("Container", func() {
// wait container started and check the status.
Eventually(func() runtimeapi.ContainerState {
return getContainerStatus(rc, containerID).State
}, time.Minute, time.Second*4).Should(Equal(runtimeapi.ContainerState_CONTAINER_RUNNING))
}, time.Minute, time.Second*4).Should(Equal(runtimeapi.ContainerState_CONTAINER_EXITED))

By("check the log context")
expectedLogMessage := &logMessage{
Expand Down

0 comments on commit b2e69a1

Please sign in to comment.