Commit Graph

43 Commits

Author SHA1 Message Date
4f2b2696d3 Update tests to reflect new AuthConfig
Upstream-commit: 10e19e4b97dba71b603d652d5a046ef792d9d704
Component: engine
2013-05-15 17:31:11 -07:00
741f6efe46 Update tests to reflect new project structure
Upstream-commit: e7077320ff6452984260c14394c271db080b5e9c
Component: engine
2013-05-15 01:52:09 +00:00
8ba22c1167 Merge branch 'master' into remote-api
Upstream-commit: 32cbd72ebeedfd6be71cf840f8b56a19e2c0e64c
Component: engine
2013-05-07 21:02:32 +02:00
521aa8b1ce added search
Upstream-commit: 59a6316f5e0810009f5986d62f1707f8d0a6650e
Component: engine
2013-05-07 20:43:31 +02:00
664f8fbbbd Check the command existance prior create and add Unit tests for the case
Upstream-commit: 42b1ea4889cd61790f81001ada5deac9354be378
Component: engine
2013-05-07 11:18:13 -07:00
44910e43b1 update to master
Upstream-commit: 10c0e990371e065d4fc1c9b680f03a46e5bacc5e
Component: engine
2013-05-07 19:23:50 +02:00
7b2bb0c965 Update the unit tests to reflect the new API
Upstream-commit: ff95f2b0ecf54fdfeffa1aa008e22cb5c7ec59d6
Component: engine
2013-05-06 16:00:30 -07:00
3a6a7097c6 split api and server. run return exit code. import, pull and commit uses the smae endpoint. non zero status code on failure
Upstream-commit: 04cd20fa627635d30ea315d0d4e281e10e8d293c
Component: engine
2013-05-06 11:31:22 +02:00
91fa0f0669 Move the capabilities detection into a runtime method
Upstream-commit: 9042535f5af607f2362fa3f995427e1c5aab664e
Component: engine
2013-04-26 14:32:55 -07:00
eb3034a4cf Merge pull request #473 from dotcloud/26-auto_restart_containers-feature
+ runtime: Add -r flag to dockerd in order to restart previously running container....
Upstream-commit: 8f81e175af419e5669fd8b74958b0ea85d8cc248
Component: engine
2013-04-26 14:02:01 -07:00
79019a5e64 Merge pull request #467 from dotcloud/improve_localhost_port_test
* tests: Improve unit test to avoid unnecessary warnigns
Upstream-commit: 636c7835d3a94996918ec4f1412fc13c83ffc6ba
Component: engine
2013-04-26 14:01:13 -07:00
85eee11a06 Add -r flag to dockerd in order to restart previously running container. Fixes #26
Upstream-commit: 50144aeb42283848db730b936d6b5b6332ec6565
Component: engine
2013-04-24 19:01:23 -07:00
5b920253cc Specify a different bridge for tests than for regular runtime
Upstream-commit: ee298d1420ea58cdafa788d63547dadab47ef76d
Component: engine
2013-04-24 17:43:41 -07:00
b74a205fb6 Make sure the container is well started prior to perform the test
Upstream-commit: 5a02c9ba0a8e4dc19001a11d00049ec2c76511f0
Component: engine
2013-04-23 11:08:31 -07:00
f9222f5820 Increased timeout in TCP port allocation test to pass on slower machines
Upstream-commit: 73da7a12e7d6846a12571e6eac1f16502219c9d4
Component: engine
2013-04-23 10:12:46 -07:00
dad1da85a7 Merge remote-tracking branch 'origin/check_kernel_capabilities'
Upstream-commit: 76b40ad6c994d8eb4c969802a172d8a808b1ac35
Component: engine
2013-04-20 17:40:25 -07:00
5fe93d40b1 Add a test for allocating tcp ports and reaching them on localhost
Upstream-commit: 911925b54a42fffa0fed8bac2a3eeba14bf3ec4b
Component: engine
2013-04-19 20:46:07 -07:00
630116b2c0 Remove the NO_MEMORY_LIMIT constant
Upstream-commit: f68d107a1368b3d4f3342456a2b0675659688354
Component: engine
2013-04-18 21:08:20 -07:00
e35cce33e7 Keep a cache of the unit-tests image. So I can code in conferences with crappy wifi.
Upstream-commit: ca6cd5b557279facb4831e8380be4eb40ac38362
Component: engine
2013-04-17 11:32:13 -07:00
3fcc60d0f7 Allow to disable memory limit at compilation time
Upstream-commit: 1967c8342aef1a81eb33a41d673bb8e702daa5df
Component: engine
2013-04-12 10:48:20 -07:00
34381c942f Add unit test for hanging kill + fix other tests behaviour
Upstream-commit: bb22cd492efdc67855bbcf8ab4a669e45ea9ee8e
Component: engine
2013-04-11 16:21:19 -07:00
ef277ddef4 Merge remote-tracking branch 'origin/unit_test_improvment-2'
Upstream-commit: a7299a3f2617a797af0df3082590ca361b687bf4
Component: engine
2013-04-08 18:29:12 -07:00
7e2a370b5c Edit the tests for them to use the new command API. Disable TestRunHostname and TestAttachStdin.
Upstream-commit: 80f6b4587b6ebaed30747d17b69af4d11d6389ab
Component: engine
2013-04-08 15:58:09 -07:00
51b0dca52e Prevent destroy() to stop twice container in TestRestore()
Upstream-commit: b76b329ef05748e75224e8fd09c1c697ddfd2a50
Component: engine
2013-04-04 20:40:42 -07:00
2bc3ef6328 Increase the timeout of TestRestore() to avoid unwanted timeout error
Upstream-commit: bae6f9583060187116aa8a069d0e63abfede5de0
Component: engine
2013-04-04 20:32:44 -07:00
b7d6bc48b8 Merge remote-tracking branch 'dominikh/minor-code-touchups'
Upstream-commit: 586a79cca0c0b7f432e31807e3b8ca79d565c27e
Component: engine
2013-04-04 16:20:37 -07:00
862b5a4380 Merge remote-tracking branch 'origin/257-container_real_running_state-fix'
Upstream-commit: 6b5fe8c2ec9762617cf53ee241fcb284dfa77196
Component: engine
2013-04-04 15:34:18 -07:00
bb5c0135f0 Check WaitTimeout return in test, replaced lock initialization in runtime.Register() with call to initLock()
Upstream-commit: ad0183e41978b3b156234f801750034912915223
Component: engine
2013-04-03 10:48:02 -07:00
e0353cfeee Integrated @creack's feedback on TestRestore
Upstream-commit: 7b74b9cab50ecd12ca2af51116279fce97edadd8
Component: engine
2013-04-03 05:37:45 -07:00
3025ceb6c5 remove superfluous panic
Upstream-commit: 14d3880daf9bdfe52248b5b0548a5522161baf2c
Component: engine
2013-04-03 11:19:48 +02:00
668c8b4472 use wg.Done() isntead of wg.Add(-1)
Upstream-commit: cab31fd5128fbfcc2f1b44d3d643fe96a28c88fc
Component: engine
2013-04-03 11:11:34 +02:00
f1a2914b2e kill the right containers in runtime_test
Upstream-commit: 1fc55c2bb9bce1451d6199e8aaa23ef8baa0e46c
Component: engine
2013-04-03 11:11:06 +02:00
138633b4ab [unit tests] Cleanly kill all containers before nuking a temporary runtime
Upstream-commit: 8f9e4542417421ee62ac952d1e04268520a75d8f
Component: engine
2013-04-02 11:00:14 -07:00
2dc1c74a96 Better crash simulation in TestRestore ; force state lock creation when loading a container from disk
Upstream-commit: 791ca6fde47d26a96134b1715580303ea6cd17ed
Component: engine
2013-04-02 10:06:49 -07:00
7e0b5d8ac6 variable names
Upstream-commit: 02c211a0dca91bb3744b6c1301e372799189881f
Component: engine
2013-04-02 07:13:42 -07:00
5e064a959a More thorough test case, use container.Stop() instead of lxc-kill,
use setStopped() during the restore step
Upstream-commit: c780ff5ae726bc8acd30b9ef476cd111c477ec35
Component: engine
2013-04-02 07:01:43 -07:00
75fa1b8a06 Working in progress: add unit tests for the running state check
Upstream-commit: 8c36e6920a9e17171dc67a79ab20d39886404e73
Component: engine
2013-03-31 20:14:54 -07:00
517ce9567b Unit tests fetch their base image with 'docker pull docker-ut'
Upstream-commit: d01b5894c47f7b389e89efe14a5acc96a68e3b7d
Component: engine
2013-03-25 17:18:56 -07:00
6ae0955c01 Moved image name into config. runtime.Create() now receives a single Config parameter
Upstream-commit: 6ce64e8458b31aff150f2cae197d42e334018afa
Component: engine
2013-03-23 12:39:09 -07:00
3eb293999e runtime.Create receives an image name + Config. The Config includes all required runtime information: command, environment, ports etc.
Upstream-commit: 031f91df1a158d37f7f068ca1e17c25e1f112f29
Component: engine
2013-03-23 12:16:58 -07:00
ace2db29d7 Folded graph/ back into main package
Upstream-commit: ef711962d5d70b4332908f0ca6460929e289c131
Component: engine
2013-03-21 17:47:23 -07:00
d885b28d79 First integration of runtime with repositories & tags
Upstream-commit: 44faa07b6c472b888bed65b56126cde56658e91a
Component: engine
2013-03-21 17:35:49 -07:00
16b646c2d9 Renamed docker*.go to runtime*.go
Upstream-commit: 377cebe36f4e4fc1cf927313df4a9c1cb6dc49cf
Component: engine
2013-03-21 01:24:54 -07:00