Commit Graph

10 Commits (26851bab088e43dc54bc737cf774e7f750fb9a9c)

Author SHA1 Message Date
Kris e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
Daniel Martí 91fbff99dc Properly close test http servers in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api: dial tcp 127.0.0.1:46070: socket: too many open files

Steps to reproduce (no longer fails):

	godep go test -short -run '^$' -o test .
	./test -test.run '^TestGetSwaggerSchema' -test.count 100

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Chao Xu 6f0eb521a6 Move pkg/client/unvrsioned#testClient to pkg/client/unversioned/testclient#simple 2015-12-09 10:39:28 -08:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Wojciech Tyczynski 647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
derekwaynecarr 544b453e31 Add replication controller status subresource 2015-10-07 14:39:33 -04:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Kris Rousey 7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00