Commit Graph

4 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
Brendan Burns cee738871e Add a client implementation for third party resources 2015-12-10 15:43:05 -08:00