eaa727c6e2
Create a unified RunCommand function with Assert()
...
Remove some run functions and replace them with the unified run command.
Remove DockerCmdWithStdoutStderr
Remove many duplicate runCommand functions.
Also add dockerCmdWithResult()
Allow Result.Assert() to ignore the error message if an exit status is expected.
Fix race in DockerSuite.TestDockerInspectMultipleNetwork
Fix flaky test DockerSuite.TestRunInteractiveWithRestartPolicy
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: d7022f2b46589cb9d860219e1d8278351ba147c3
Component: engine
2016-08-23 15:11:46 -04:00
2b0a71c4f1
Remove unnecessary json.Unmarshal wrapper.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: fb42e8477208badf0714a9d8ae20946a9b531dba
Component: engine
2016-08-23 15:11:46 -04:00
a4084df811
Fix a race in pkg/integration.TestChannelBufferTimeout
...
Update #22965
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: d0d828e292733fa1d5e2d09d7f184be69129e757
Component: engine
2016-05-25 07:09:38 +00:00
866c631581
pkg/integration: Port tests to Windows
...
Signed-off-by: John Starks <jostarks@microsoft.com >
Upstream-commit: 8fc825364ac60848d4278c00429838c3f28f2cd7
Component: engine
2016-05-24 12:12:48 -07:00
0e8c018223
Windows CI: Turn off failing unit tests pkg\integration
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: 5f2ba2b9ba5d1030dacb6c686d12c6a91c3c0612
Component: engine
2016-03-02 19:37:18 -08:00
1066ac0f5a
Windows CI: Fix test-unit for pkg\integration
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: 41d3bb43f463a92b3611b0939e9ce51d523c62bb
Component: engine
2016-02-11 15:06:22 -08:00
e0a503a757
Merge pull request #18518 from MHBauer/spurious-timing
...
adjust test sleep timing to avoid spurious failure
Upstream-commit: 8ec00e6d0ecc49454e84d8bc67d9aeb9f1430e3f
Component: engine
2015-12-16 20:45:55 +01:00
1afa237e22
adjust test sleep timing to avoid spurious failure
...
- refactor ConsumeWithSpeed
- documentation
Signed-off-by: Morgan Bauer <mbauer@us.ibm.com >
Upstream-commit: 81c334fa56eab0f9e85c9f6745efa34bbb1b444b
Component: engine
2015-12-15 13:27:24 -08:00
3c4fcf6b7a
Fix typos found across repository
...
Signed-off-by: Justas Brazauskas <brazauskasjustas@gmail.com >
Upstream-commit: 927b334ebfc786276a039e45ec097e71bf9a104c
Component: engine
2015-12-13 18:04:12 +02:00
60a1c405c1
Fixes 16556 CI failures
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: e65a7dabb9632b30df9c67ca5783d6dd55e91a7b
Component: engine
2015-09-24 11:19:00 -07:00
b5fd27f53c
TestRandomUnixTmpDirPath platform agnostic
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: 5d630abbab734d60cc3078fd1e94862a67e0d8fd
Component: engine
2015-09-24 09:37:07 -07:00
c2899cc7c9
pkg: integration: utils_test: fix int format
...
Signed-off-by: Antonio Murdaca <runcom@linux.com >
Upstream-commit: c219311fd89b21aecc44895e3177ea3fc5b973d6
Component: engine
2015-09-20 02:42:08 +02:00
3d19f9af55
Add unit tests for integration cli utils function
...
- utils_test.go and docker_utils_test.go
- Moved docker related function to docker_utils.go
- add a test for integration-cli/checker
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 5109071706cab06257b21172627ce51e5fa3a88c
Component: engine
2015-09-09 15:36:44 +02:00