Chris Bednarski
9fd9e33766
Added some comments to the test to explain why we're doing stuff this way
2015-11-10 17:48:06 -08:00
Chris Bednarski
fdd21d3001
Change dockerIs* to accept *testing.T for logging
2015-11-10 17:43:08 -08:00
Chris Bednarski
acb8f1debd
Changed behavior for Docker ENV
...
- Docker ENV variables now work the same way in production, dev, and test
- Docker ENV variables are *ignored* if docker.endpoint is present in the Nomad config file
- Remote tests now work correctly
2015-11-10 15:54:31 -08:00
Alex Dadgar
5bf2ad0261
Docker alloc dir tests and test fixes
2015-10-15 16:59:08 -07:00
Alex Dadgar
5a0551aed9
Change Docker/Rkt to set driver to 1 not true for consistency
2015-10-12 13:15:37 -07:00
Chris Bednarski
d7023f8f71
Merge branch 'master' into b-docker-port
2015-10-06 17:54:32 -07:00
Chris Bednarski
f3b5d553ad
Support boot2docker or VM for dev/test
2015-10-06 17:53:05 -07:00
Chris Bednarski
2801e7d1e1
Fingerprint test should now behave correctly when the executor is not installed; fix some go vet issues
2015-10-06 16:33:02 -07:00
Chris Bednarski
629a56ee70
This is needed for 1.4.2 compat; not sure what removed it
2015-10-06 00:32:34 -07:00
Chris Bednarski
28fef04b64
Add skip detection for all docker tests
2015-10-06 00:27:05 -07:00
Alex Dadgar
5294330cf7
go-fmt
2015-10-02 10:54:04 -07:00
Abhishek Chanda
ee2cd3bed0
Enable setting networking mode for docker
...
This patch enables setting networking mode for the docker
driver. This does not handle the `container` mode.
Closes #175
2015-10-01 18:52:41 -07:00
Chris Bednarski
6c5ddb3076
Docker kill now exits with an error, as expected
2015-09-25 22:43:19 -07:00
Chris Bednarski
784d0e9e15
Go native for docker API calls
2015-09-25 20:01:03 -07:00
Chris Bednarski
723b55c049
Merge branch 'master' into b-docker-fixes
...
Conflicts:
client/driver/docker_test.go
client/driver/java_test.go
client/driver/qemu_test.go
2015-09-25 18:35:23 -07:00
Chris Bednarski
0f6e60c7aa
Added a failing test case for multiple docker tags
2015-09-25 17:38:07 -07:00
Chris Bednarski
6b59a8235e
Added docker test to spin up 3 containers at the same time
2015-09-25 17:35:33 -07:00
Chris Bednarski
f2dd5cac18
Added guards to tests so we can more gracefully degrade the test suite when thing are not installed
2015-09-25 16:49:26 -07:00
Chris Bednarski
559462b49f
Added basic resources to exec/java tests so each test has cpu, ram, and network
2015-09-25 16:49:18 -07:00
Alex Dadgar
8a5e65e27a
Merge qemu test
2015-09-25 16:49:14 -07:00
Chris Bednarski
6445e14755
Merge branch 'f-driver-config' into f-docker-resource-constraints
2015-09-09 18:47:35 -07:00
Chris Bednarski
0e00b5fbf7
Updated Qemu and tests to use DriverContext
2015-09-09 18:38:52 -07:00
Chris Bednarski
92ca9c4679
Added preliminary resource constraints for docker; CPU and Memory
2015-09-09 01:08:31 -07:00
Chris Bednarski
f911a24837
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-08 12:43:02 -07:00
Chris Bednarski
cedd26851e
Added tests for docker, improved logging, and fixed a few bugs
2015-09-03 21:00:16 -07:00