control-center/serviced — pull request #987 by wplu (2014-09-09 03:22:25+00:00)
Title: temporarily disable TestRestartContainer - any container tests following...

... it times out on NewContainer()

ISSUE:
```
~/src/europa/src/golang/src/github.com/control-center/serviced/commons/docker
# plu@plu-9: go test -v
=== RUN TestContainerCommit
--- PASS: TestContainerCommit (0.26 seconds)
=== RUN TestOnContainerStart
--- PASS: TestOnContainerStart (0.39 seconds)
=== RUN TestOnContainerCreated
--- PASS: TestOnContainerCreated (0.03 seconds)
=== RUN TestOnContainerStop
--- PASS: TestOnContainerStop (0.18 seconds)
container_test.go:175: Receieved exit code: 1
=== RUN TestCancelOnEvent
--- PASS: TestCancelOnEvent (2.17 seconds)
=== RUN TestRestartContainer
--- PASS: TestRestartContainer (0.38 seconds)
=== RUN TestListContainers
--- FAIL: TestListContainers (300.00 seconds)
container_test.go:283: can't create container: docker: request timed out
```

DEMO:
```
~/src/europa/src/golang/src/github.com/control-center/serviced/commons/docker
# plu@plu-9: go test -v
=== RUN TestContainerCommit
--- PASS: TestContainerCommit (0.28 seconds)
=== RUN TestOnContainerStart
--- PASS: TestOnContainerStart (0.36 seconds)
=== RUN TestOnContainerCreated
--- PASS: TestOnContainerCreated (0.03 seconds)
=== RUN TestOnContainerStop
--- PASS: TestOnContainerStop (0.20 seconds)
container_test.go:175: Receieved exit code: 1
=== RUN TestCancelOnEvent
--- PASS: TestCancelOnEvent (2.17 seconds)
=== RUN TestListContainers
--- PASS: TestListContainers (1.45 seconds)
=== RUN TestWaitForContainer
--- PASS: TestWaitForContainer (10.38 seconds)
=== RUN TestInspectContainer
--- PASS: TestInspectContainer (0.18 seconds)
=== RUN TestRepeatedStart
--- SKIP: TestRepeatedStart (0.00 seconds)
container_test.go:417: skip this until the build box issues get sorted out
=== RUN TestNewContainerTimeout
--- PASS: TestNewContainerTimeout (0.00 seconds)
=== RUN TestNewContainerOnCreatedAndStartedActions
--- PASS: TestNewContainerOnCreatedAndStartedActions (0.22 seconds)
=== RUN TestNewContainerOnCreatedAction
--- PASS: TestNewContainerOnCreatedAction (0.03 seconds)
=== RUN TestNewContainerOnStartedAction
--- SKIP: TestNewContainerOnStartedAction (0.00 seconds)
container_test.go:580: skip this until the build box issues get sorted out
=== RUN TestFindContainer
--- PASS: TestFindContainer (0.10 seconds)
=== RUN TestContainerExport
--- PASS: TestContainerExport (1.16 seconds)
=== RUN TestImageAPI
OK: 9 passed
--- PASS: TestImageAPI (31.86 seconds)
PASS
ok	github.com/control-center/serviced/commons/docker	48.456s

```