Commit Graph

10 Commits

Author SHA1 Message Date
Andrea Luzzardi ac36c986e0 run as user tests: Check the exit codes 2013-02-15 12:17:58 -08:00
Andrea Luzzardi dd84ba3485 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 0da9ccc18e Fixed a bug preventing proper reattachment to stdin upon container restart 2013-02-13 19:05:57 -08:00
Andrea Luzzardi f2c2d953a8 Added a restart test to ensure a container can be successfully run twice 2013-02-13 18:17:42 -08:00
Andrea Luzzardi 6de3e8a22d Implemented support to run as a different user (through the -u flag) 2013-02-13 17:24:35 -08:00
Andrea Luzzardi ca40989e45 Created tests for stdin pipes and tty handling 2013-01-29 15:16:45 -08:00
Andrea Luzzardi a2d7dd1a19 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 f958bdba8a 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 24dac22892 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 a27b4b8cb8 Initial commit 2013-01-18 16:13:39 -08:00