Commit Graph

34 Commits

Author SHA1 Message Date
Alex Dadgar
636c3fc82f Add IP and PORT environment variables 2016-04-15 11:01:32 -07:00
Alex Dadgar
be6da2a446 Fix test 2016-03-25 10:26:32 -07:00
Alex Dadgar
4c1be8e637 Get tests to pass 2016-03-15 13:28:57 -07:00
Alex Dadgar
3040c4dab2 Fix test 2016-03-08 11:41:26 -08:00
Alex Dadgar
abcc50ac80 Driver tests 2016-03-01 16:22:33 -08:00
Alex Dadgar
e696c7eef7 Fix timeouts between signal and kill 2016-02-08 19:31:57 -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
dccbc0320b Fix tests 2016-01-11 09:58:31 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -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 Hines
d707adc3ed Use package testtask and httptest.Server to make client/driver tests OS independent. 2015-11-25 15:56:20 -05: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
0e7ee06708 Added a randomized alloc id for tests so container names don't collide 2015-11-17 19:45:33 -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
Diptanu Choudhury
72f82a7056 Fixed the test related to setting env variables in tasks 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
0d69778873 Fixed compilation issues with driver tests 2015-11-16 13:10:57 -08:00
Chris Bednarski
022a24c25d Change this to a valid IP address so docker can bind to it 2015-11-12 21:46:59 -08:00
Diptanu Choudhury
fb8f922f2e Passing in the AllocID to exec context so that it can be used in the drivers 2015-11-05 18:34:04 -08:00
Alex Dadgar
7f359cfe99 update test to reflect not uppercasing passed env vars 2015-10-02 17:49:18 -07:00
Antoine POPINEAU
962c509586 Moved the envvars logic to TaskEnvironment and TaskEnvironmentVariables(). Added tests there. 2015-10-02 17:46:55 -07:00
Alex Dadgar
75f93ce9fb Pull task environments into their own type to be reusable across drivers and executors 2015-09-27 17:37:24 -07:00
Alex Dadgar
148e415f43 Remove cruft from rebase 2015-09-27 17:37:24 -07:00
Alex Dadgar
c555c70eeb merge fixes 2015-09-27 17:37:24 -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
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
77fb433a8e Add test case for PopulateEnvironment 2015-09-24 00:17:33 -07:00
Chris Bednarski
0e00b5fbf7 Updated Qemu and tests to use DriverContext 2015-09-09 18:38:52 -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
Clint Shryock
e7c88f1bcf move test logger to shared file 2015-09-01 16:56:42 -05:00