Victor Vieux
|
04cd20fa62
split api and server. run return exit code. import, pull and commit uses the smae endpoint. non zero status code on failure
|
12 éve |
Guillaume J. Charmes
|
a22c78523f
Wait for the container to finish in TestAttachDisconnect before destroying it
|
12 éve |
Guillaume J. Charmes
|
acb546cd1b
Fix race within TestRunDisconnectTty
|
12 éve |
Guillaume J. Charmes
|
cc5a044a8c
update TestRunDisconnectTty to reflect the correct behavior of CmdRun
|
12 éve |
Guillaume J. Charmes
|
bb22cd492e
Add unit test for hanging kill + fix other tests behaviour
|
12 éve |
Guillaume J. Charmes
|
d063d52cce
Update the unit test to reflect the new CmdRun behaviour in tty mode
|
12 éve |
Guillaume J. Charmes
|
99b5bec069
Fix run disconnect behavious in tty mode + add unit test to enforce it
|
12 éve |
Louis Opter
|
e9a68801ba
Update the tests according to the "optional raw mode" changes
|
12 éve |
Guillaume J. Charmes
|
bdf05d8368
Reenable CmdRunAttachStdin and CmdRunHostname now using the DockConn interface
|
12 éve |
Guillaume J. Charmes
|
80f6b4587b
Edit the tests for them to use the new command API. Disable TestRunHostname and TestAttachStdin.
|
12 éve |
Guillaume J. Charmes
|
6882c78ce4
Add a stdincloser to container.Attach in order to close the client connection when needed
|
12 éve |
Guillaume J. Charmes
|
43484e8b50
Add a TestRunExit, make sure cmdRun returns after process dies
|
12 éve |
Solomon Hykes
|
15c3096e89
Merged attachStdin
|
12 éve |
Solomon Hykes
|
b1fa26bb76
TestRunHostname checks that 'docker run -h' correctly sets a custom hostname
|
12 éve |
Solomon Hykes
|
c77063afcd
Add test for attaching only stdin at run with 'docker run -i -a=stdin'
|
12 éve |
Solomon Hykes
|
2db358146f
'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests.
|
12 éve |
Solomon Hykes
|
1cc1cb099e
When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value
|
12 éve |
Guillaume J. Charmes
|
ad1e8a9b0f
Add unit test for CmdAttach
|
12 éve |
Guillaume J. Charmes
|
cfeed391d7
Change the commands unit tests in order to reflect the proper behaviour of CmdRun
|
12 éve |
Solomon Hykes
|
a52a28b609
Temporarily disable a broken test (waiting for @creack to fix it), and silence a warning which pollutes unit tests but is complicated to fix
|
12 éve |
Guillaume J. Charmes
|
8cceafc834
Add unit test for the #125 scenario. Reattach after client disconnect on stdin allocated container
|
12 éve |