Solomon Hykes
359a6f49b9
Move integration tests to integration/, expose missing public methods in the core
2013-11-14 10:50:00 -08:00
Solomon Hykes
6c4393ccbb
Merge branch 'job-create-start-clean' into engine-patch-2
...
Conflicts:
engine/engine.go
engine/job.go
server.go
utils_test.go
2013-11-13 00:36:20 +00:00
Nate Jones
059bb7a262
make existing tests pass
2013-11-06 03:58:16 +00:00
Solomon Hykes
e5f8ab6160
Engine: 'create' creates a container and prints its ID on stdout
2013-11-05 23:00:20 +00:00
Solomon Hykes
958b4a8757
Engine: 'start' starts the specified container
2013-11-05 18:39:59 +00:00
Jérôme Petazzoni
31638ab2ad
Refactor HostConfig and escape apparmor confinement
2013-11-01 13:55:19 -07:00
Michael Crosby
0d2924408b
Add -name for docker run
...
Remove docker link
Do not add container id as default name
Create an auto generated container name if not
specified at runtime.
2013-10-28 18:09:08 -07:00
Michael Crosby
1cbdaebaa1
Add links for container relationships and introspection
2013-10-25 15:13:24 -07:00
Victor Vieux
0e021ed470
swap cat by top to prevent 2 warnings
2013-10-24 15:06:10 -07:00
Guillaume J. Charmes
3e014aa662
Fix attach race condition, improve unit tests, make sure the container is started before unblocking Start
2013-10-18 16:26:16 -07:00
Guillaume J. Charmes
333bc23f21
Fix issue killing container while sending signal
...
Fix rebase issue
Update docs
2013-10-18 16:19:27 -07:00
Solomon Hykes
07d9e4353b
Increase readbility of unit tests by using mkRuntime everywhere
2013-10-18 07:20:39 +00:00
Solomon Hykes
240d5b3fa1
Hack: don't run integration tests in /var/lib/docker/unit-tests; add missing cleanups in a few tests
2013-10-18 02:13:36 +00:00
Victor Vieux
104a86936a
api.go:108 Error parsing media type: error: mime: no media type
...
fix
2013-10-16 19:32:03 +00:00
Victor Vieux
df697b4318
use httpError in a separate test
2013-10-16 19:23:47 +00:00
Guillaume J. Charmes
f435970695
Merge pull request #1842 from dotcloud/split_stdout_stderr
...
* Runtime: Split stdout stderr
2013-09-26 18:05:24 -07:00
Guillaume J. Charmes
cb18a6e1b9
Update docs + fix endian issue
2013-09-26 17:36:21 -07:00
Guillaume J. Charmes
e854b7b2e6
Make StdCopy works with huge amount of data
2013-09-11 14:49:33 -07:00
Guillaume J. Charmes
289350e633
Add stderr unit test
2013-09-11 14:48:22 -07:00
Guillaume J. Charmes
8ae5348a51
Split stdout stderr for non-tty commands
2013-09-11 14:48:22 -07:00
Michael Crosby
bd0e4fde9a
Merge pull request #1838 from jmcvetta/multiline_dockerfile
...
Implementation of multiline syntax for Dockerfile
2013-09-10 14:22:34 -07:00
Michael Crosby
ad152efbed
Merge pull request #1759 from bdon/graph-map
...
Minor refactor of Graph; replace uses of Graph.All (slice) with Graph.Map (map)
2013-09-10 08:49:11 -07:00
Jason McVetta
6678a26d1c
gofmt
2013-09-09 15:11:30 -07:00
Solomon Hykes
24e02043a2
Merge builder.go into runtime.go
2013-09-06 17:33:05 -07:00
Daniel Mizyrycki
bf6e241d97
testing, issue #1802 : Temporarily skip TestGetContainersTop
2013-09-04 18:20:49 -07:00
Brandon Liu
1fca99ad90
Replace Graph.All with Graph.Map
2013-08-31 20:44:42 -07:00
Michael Crosby
7f9ba14b18
Add imagename to LogEvent tests
2013-08-14 23:43:43 +00:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Guillaume J. Charmes
ceb33818cd
Improve TestGetContainersTop so it does not rely on sleep
2013-08-08 11:51:31 -07:00
Michael Crosby
d94b186080
Strip leading forward slash from resource
2013-08-06 16:09:54 +00:00
Michael Crosby
5b8cfbe15c
Add cp command and copy api endpoint
...
The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.
Closes #382
2013-08-06 16:09:54 +00:00
Michael Crosby
754ed9043d
Use mime types to parse Content-Type
2013-08-06 15:57:13 +00:00
Victor Vieux
0b57e4483a
Merge branch 'master' into 1237-improve_docker_top-feature
2013-07-30 11:51:16 +00:00
Guillaume J. Charmes
fd9ad1a194
Fixes #505 - Make sure all output is send on the network before closing
2013-07-24 15:48:51 -07:00
Victor Vieux
ed7a4236b3
Add tests for the api
2013-07-23 15:42:34 +00:00
Victor Vieux
cfec1c3e1b
add ps args to docker top
2013-07-19 10:06:32 +00:00
Solomon Hykes
2cbf2200ac
Merge pull request #1195 from dotcloud/tests-cleanup
...
* Hack: tests cleanup
2013-07-12 14:51:59 -07:00
Victor Vieux
a8a6848ce0
fix tests regarding the new test image
2013-07-12 11:54:53 +00:00
Victor Vieux
9232d1ef62
Merge branch 'master' into list_container_processes-feature
2013-07-12 11:47:27 +00:00
Solomon Hykes
6bdb6f226b
Simplify unit tests code with mkRuntime()
2013-07-11 17:59:25 -07:00
Solomon Hykes
2ac1141980
Don't leave broken, commented out tests lying around.
2013-07-11 17:58:45 -07:00
Guillaume J. Charmes
e43ef364cb
Remove all network dependencies from the test suite
2013-07-08 15:23:04 -07:00
Victor Vieux
dea29e7c99
Fix error in rmi when conflict
2013-07-05 16:58:39 +00:00
Caleb Spare
19121c16d9
Implement several golint suggestions, including:
...
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
2013-07-03 14:36:04 -07:00
Caleb Spare
dd1b9e38e9
Typo correction: Excepted -> Expected'
2013-07-03 14:35:18 -07:00
Louis Opter
f03c1b8eeb
More unit test fixes
...
- Fix TestGetImagesJSON when there is more than one image in the test
repository;
- Remove an hardcoded constant use in TestGetImagesByName;
- Wait in a loop in TestKillDifferentUser;
- Use env instead of /usr/bin/env in TestEnv;
- Create a daemon user in contrib/mkimage-unittest.sh.
2013-07-01 17:24:21 -07:00
Louis Opter
6dacbb451f
Fix TestGetInfo when there is more than one image in the test repository
...
See also #1089 , #1072 .
2013-07-01 15:06:08 -07:00
Guillaume J. Charmes
b6f288a1ce
Fix unit tests when there is more than one tag within the test image
2013-07-01 11:45:45 -07:00
Victor Vieux
11e28842ac
change to top
2013-07-01 15:19:42 +00:00
Victor Vieux
648c4f198b
Add test
2013-06-28 16:27:00 +00:00