Commit Graph

10 Commits

Author SHA1 Message Date
Andrea Luzzardi 73fc7c4307 run as user tests: Check the exit codes 2013-02-15 12:17:58 -08:00
Andrea Luzzardi c52600d590 Autonomous testing: Don't depend on /var/lib/docker/images/ubuntu being
there. Instead, automatically downlaod the test image if not present.
2013-02-14 15:37:45 -08:00
Andrea Luzzardi 8da8bea279 Fixed a bug preventing proper reattachment to stdin upon container restart 2013-02-13 19:05:57 -08:00
Andrea Luzzardi f035f8ef94 Added a restart test to ensure a container can be successfully run twice 2013-02-13 18:17:42 -08:00
Andrea Luzzardi 251a700785 Implemented support to run as a different user (through the -u flag) 2013-02-13 17:24:35 -08:00
Andrea Luzzardi 16f63e8f40 Created tests for stdin pipes and tty handling 2013-01-29 15:16:45 -08:00
Andrea Luzzardi 5155bec5a1 Added sequential and parallel benchmarks in order to stress test docker
(create, run, destroy workflow)
2013-01-28 11:51:51 -08:00
Andrea Luzzardi d76cdea5bf Fixed lxc-wait race condition. Added unit test to try running multiple
containers in parallel.
2013-01-22 17:30:09 -08:00
Andrea Luzzardi 910340e533 Docker: Clean shutdown of containers.
Stop() will send a SIGTERM to the init process of the container and give it 10 seconds to shutdown properly.
After the timeout is reached, the process will be force killed (SIGKILL).
Also available is Kill() which kills the process on the spot.
2013-01-21 18:03:23 -08:00
Andrea Luzzardi 70e2b10ccf Initial commit 2013-01-18 16:13:39 -08:00