Diptanu Choudhury
3dbea05f57
Fixed tests
2016-07-08 18:27:51 -07:00
Alex Dadgar
fb81caa1bb
unify cli output
2016-06-12 13:16:07 -07:00
Alex Dadgar
127fbfb243
skip docker test if no docker found
2016-06-12 11:28:43 -07:00
Diptanu Choudhury
c760d5910f
Renamed error message in alloc endpoint
2016-05-28 20:03:52 -07:00
Diptanu Choudhury
993675dd4e
Added a test for docker
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
8e63a6a602
Fixed docker test
2016-05-22 02:49:33 -07:00
Sean Chittenden
22aecf1402
Revert making UniversalExecutor.wait() platform specific
2016-05-08 11:21:34 -07:00
Sean Chittenden
92bad38729
Catch up with error message drift in docker
2016-05-07 15:46:44 -07:00
Diptanu Choudhury
3c973fd7cf
Modified the test to wait for 3 seconds before inspecting containers
2016-04-14 06:43:37 +05:30
Diptanu Choudhury
d71a070e32
Added a test to ensure that the docker driver is removing containers after container exits successfully
2016-04-12 01:00:14 -04:00
Diptanu Choudhury
8760643621
Making the load a list of strings and added website docs
2016-03-30 17:23:29 -07:00
Diptanu Choudhury
b83c8da6b3
Added a test
2016-03-30 13:42:17 -07:00
Diptanu Choudhury
d4a5f075dd
Moved the dockerIsConnected to testutils
2016-03-25 17:15:51 -07:00
Miquel Sabaté Solà
939a00aca8
client/driver: added the user config value
...
This way Nomad allows to set which user has to run the task.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com >
2016-03-23 12:57:31 +01:00
Diptanu Choudhury
0f355e8f87
Introduced a method in executor to launch syslog server
2016-03-18 11:49:10 -07:00
Alex Dadgar
3040c4dab2
Fix test
2016-03-08 11:41:26 -08:00
Diptanu Choudhury
ae498c28f3
Adding version to the DockerHandle test
2016-02-25 08:51:10 -08:00
Diptanu Choudhury
ffd2bc59a1
Fixed docker tests
2016-02-10 13:29:06 -08:00
Diptanu Choudhury
e2768f49a3
Fixed the docker handle id test
2016-02-10 13:18:10 -08:00
Ivo Verberk
b9de8704ee
Rename IPPort env variable and add a mapped host port to the env.
2016-01-25 20:46:01 +01:00
Ivo Verberk
f71db5e645
Pass a combination of ip and port to the task environment.
...
The different labels can be on different IPs.
2016-01-24 10:31:03 +01:00
Alex Dadgar
e0c23ec2cd
Use TestMultiplier on all waits
2016-01-21 15:24:24 -08:00
Alex Dadgar
e91abac0f6
Fix a bunch of tests
...
Up timeouts
trusty travis beta
Increase timeouts
2016-01-20 16:03:53 -08:00
Alex Dadgar
adf05e00bf
Fix docker tests
2016-01-19 15:35:01 -08:00
Alex Dadgar
dccbc0320b
Fix tests
2016-01-11 09:58:31 -08:00
Alex Dadgar
9f44780f89
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00
Chris Hines
ffda9d71d4
Speed up tests by allowing parallel execution.
2015-11-25 15:56:55 -05:00
Chris Bednarski
fc95a3c9dc
Fix some issues caught by go vet
2015-11-20 16:01:27 -08:00
Chris Bednarski
c298425917
Added client checks back to the tests that can't use dockerSetup()
2015-11-20 13:50:47 -08:00
Chris Bednarski
63439ee3f7
Squash []map[string]type for port_map and labels into map[string]type
2015-11-19 21:29:37 -08:00
Chris Bednarski
f75404ecf7
Fixed some issues with expose, port mapping, and environment variables
...
- Port mapping now works for reserved ports as well as dynamic ports
- Environment variables were being set twice in two different ways; now they are only set once
- Comprehensive tests for exposed ports, forwarded ports, and environment variables
- Cleaned up / DRYed up a lot of test code
2015-11-19 19:08:21 -08:00
Chris Bednarski
8c1d762a75
Export DockerHandle and change tests to use DockerHandle.ContainerID()
2015-11-19 14:20:41 -08:00
Alex Dadgar
7357979089
Revert "Revert "Make drivers take arguments as a list and not as a string""
2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1
Revert "Make drivers take arguments as a list and not as a string"
2015-11-18 13:46:43 -08:00
Alex Dadgar
62a0c5d14c
Rebase
2015-11-18 12:30:35 -08:00
Alex Dadgar
ee1887e609
Rebase
2015-11-18 12:29:04 -08:00
Chris Bednarski
85d07e72bf
Revert "Added missing %s to error format string"
...
This reverts commit f4acdfd035 .
2015-11-18 11:28:38 -08:00
Chris Bednarski
f4acdfd035
Added missing %s to error format string
2015-11-18 11:28:07 -08:00
Chris Bednarski
2024cb8f94
Change DNS and DNSSearch to use lists; added a test
2015-11-17 22:02:23 -08:00
Chris Bednarski
673ce8ad70
Merge branch 'master' into f-docker-dns-config
2015-11-17 21:43:04 -08:00
Chris Bednarski
bd06a84cc9
Change dns_servers and dns_search_domains from comma-delimited strings to lists
2015-11-17 21:41:00 -08:00
Chris Bednarski
02e59fe622
Fix guards for docker port mapping and change dummy dynamic ports to real ports (0 is not a valid port)
2015-11-17 19:21:36 -08:00
Antonio Fernández
1e1be3c082
allow to set labels on docker containers
2015-11-17 14:12:49 +01:00
Chris Bednarski
1d1e4bdd08
Merge branch 'master' into f-port-labels
2015-11-16 16:02:38 -08:00
Alex Dadgar
f4b461f97a
Track Task State in the client and capture Wait results
2015-11-16 15:14:21 -08:00
Diptanu Choudhury
0d69778873
Fixed compilation issues with driver tests
2015-11-16 13:10:57 -08:00
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