Kouhei Ueno
b3e5f40988
Fix bug where debug "return" prevented whole TestAtomicUpdate run
2014-08-05 23:37:32 +09:00
Kelsey Hightower
1d3e660248
proxy: cleanup and minor refactoring
...
This change includes minor refactoring and cleanup of the proxy
package including the following items:
* Rename source files with misspelling of round robin
* Remove unnecessary and redundant comments
* Update comments for clarity
* Add locking when updating the round-robin index
* Improve method receiver names
* Rename the LoadBalance method to NextEndpoint to add clarity
No changes in behaviour have been introduced.
2014-08-05 07:18:12 -07:00
Tim Hockin
462ce3e196
Merge pull request #788 from smarterclayton/use_regular_http_in_tests
...
httptest.NewTLSServer is ~0.2s of setup per test
2014-08-04 23:16:00 -07:00
Clayton Coleman
325f9ef005
Make create atomic on etcd for Services/ReplControllers
2014-08-05 01:12:27 -04:00
Clayton Coleman
babb7528ce
httptest.NewTLSServer is ~0.2s of setup per test
...
We're not exercising anything TLS related in client and request,
set these back to NewServer. Should add a new TLS end-to-end
test for hack/test-cmd.sh with real (test) certs.
2014-08-05 00:59:42 -04:00
brendandburns
83aeae7658
Merge pull request #787 from thockin/network
...
Make container-to-container IP work across VMs.
2014-08-04 21:05:48 -07:00
brendandburns
dba72f5895
Merge pull request #774 from thockin/cleanups
...
Call build-go.sh before bundling a release
2014-08-04 21:03:56 -07:00
Tim Hockin
4c58752684
Make container-to-container IP work across VMs.
2014-08-04 20:52:13 -07:00
Tim Hockin
bec27af51a
Merge pull request #784 from nyaxt/avoid_magicnum
...
Rename IsEtcdConflict to IsEtcdTestFailed
2014-08-04 16:59:00 -07:00
Robert Bailey
8671d69f34
Minor style fixes and keep the test manifest in sync.
2014-08-04 16:14:43 -07:00
Kouhei Ueno
6288336436
Rename IsEtcdConflict to IsEtcdTestFailed
2014-08-05 08:07:20 +09:00
brendandburns
49e7f25020
Merge pull request #783 from MikeJeffrey/master
...
Regenerating kubernetes.html
2014-08-04 15:43:21 -07:00
Daniel Smith
041d56f3d0
finish testing client/cache
2014-08-04 14:50:01 -07:00
Daniel Smith
03fe91cc4a
Add ID to JSONBaseInterface
2014-08-04 14:50:01 -07:00
Daniel Smith
a47b65bf8a
Add cache package.
2014-08-04 14:50:01 -07:00
Daniel Smith
b430cebe72
Remove etcd dependency from controller manager.
2014-08-04 14:29:49 -07:00
Tim Hockin
7f0d470979
Merge pull request #776 from nyaxt/respectzone
...
ServiceRegistryStorage.Delete should respect zone.
2014-08-04 14:29:46 -07:00
Tim Hockin
471955d310
Merge pull request #775 from nyaxt/misc_cleanup
...
Minor clean ups for readability
2014-08-04 14:29:07 -07:00
Kouhei Ueno
d7fc4637e9
ServiceRegistryStorage.Delete should respect zone.
2014-08-05 06:11:00 +09:00
Tim Hockin
812d651b1b
Call build-go.sh before bundling a release
...
Now the dev-build-and-* scripts actually work.
2014-08-04 13:58:32 -07:00
Daniel Smith
38c4cdff99
Merge pull request #773 from smarterclayton/speed_up_proxy_tests
...
Remove 8 seconds of unnecessary sleeps from proxy tests
2014-08-04 13:49:07 -07:00
Kouhei Ueno
c6ebc4859e
Reduce nesting on ServiceRegistryStorage.Create
2014-08-05 05:38:31 +09:00
Daniel Smith
f36d2a7ebd
Merge pull request #740 from brendandburns/sync
...
Switched Set to Create in etcd tools
2014-08-04 13:15:08 -07:00
Daniel Smith
94e4aa70be
Merge pull request #772 from derekwaynecarr/stop_negative_values
...
Validate on replicas being non-negative
2014-08-04 13:13:57 -07:00
Kouhei Ueno
c8e1c6a02f
dedupe apiserver.New
2014-08-05 05:11:25 +09:00
Kouhei Ueno
afa686ccc8
dedupe registry.MakeEndpointController init
2014-08-05 05:09:49 +09:00
derekwaynecarr
e5fd877052
Validate on replicas being non-negative
2014-08-04 15:39:45 -04:00
Clayton Coleman
0c33ed09d4
Remove long sleeps from proxy tests
2014-08-04 15:35:03 -04:00
Clayton Coleman
786b0399c3
Make interval a constant on proxy/config/etcd
...
Allow future testing of intervals
2014-08-04 15:34:43 -04:00
Brendan Burns
ab4918464e
Switched Set to Create
2014-08-04 12:10:16 -07:00
brendandburns
a06d6726d4
Merge pull request #762 from jdef/master
...
add retries to salt bootstrap download
2014-08-04 11:55:00 -07:00
James DeFelice
2c2547d5bb
Merge branch 'master' of github.com:jdef/kubernetes
2014-08-04 14:47:21 -04:00
James DeFelice
2f500b3b07
add retries to salt bootstrap download
2014-08-04 14:46:52 -04:00
Tim Hockin
fec73135d6
Merge pull request #771 from thockin/cleanups
...
Fix indents
2014-08-04 11:45:03 -07:00
Tim Hockin
f9f8db5171
Fix indents
2014-08-04 11:42:33 -07:00
brendandburns
2284e5d5f5
Merge pull request #767 from smarterclayton/parallelize_test_go
...
Run all go tests in parallel (6x speedup)
2014-08-04 11:09:42 -07:00
Clayton Coleman
67166e581b
Run all go tests in parallel (6x speedup)
...
Currently hack/test-go.sh runs in serial in independent executions of
go test. By running all tests at once, we get parallel execution.
However, we cannot use -coverprofile with this mode, which seems worthwhile.
On a 4-core mac, runs tests in 15s that ran in 80s before. Tested on F20 and
OSX Mavericks.
2014-08-04 13:39:34 -04:00
roberthbailey
fb49ea331d
Merge pull request #764 from brendandburns/expect
...
Fix unit test build.
2014-08-04 10:16:45 -07:00
brendandburns
27426db827
Merge pull request #756 from smarterclayton/expose_encoding_versioning_interfaces
...
Expose an Encoding/Versioning interface for use with etcd
2014-08-04 10:10:54 -07:00
Brendan Burns
d648b2350e
Fix unit test build.
2014-08-04 09:50:25 -07:00
brendandburns
81a8ac723f
Merge pull request #753 from smarterclayton/remove_expect_no_error_apiserver
...
Remove expectNoError from apiserver
2014-08-04 09:15:34 -07:00
brendandburns
d4860c21a9
Merge pull request #752 from smarterclayton/remove_expect_no_error_util
...
Remove expectNoError from client, kubelet, and util
2014-08-04 09:15:22 -07:00
brendandburns
97a6aaba53
Merge pull request #751 from smarterclayton/remove_expect_no_error
...
Remove expectNoError from pkg/registry
2014-08-04 09:14:59 -07:00
brendandburns
6531188f37
Merge pull request #750 from smarterclayton/operation_list_not_returned
...
/api/v1beta1/operations was returning Not Found
2014-08-04 09:13:27 -07:00
brendandburns
6564f14ac4
Merge pull request #704 from derekwaynecarr/issue_603
...
Improve testing reliability
2014-08-04 09:11:57 -07:00
brendandburns
e52c62565b
Merge pull request #692 from lavalamp/dockerObjWrap
...
Copy docker client structs into v1beta1
2014-08-04 09:10:57 -07:00
James DeFelice
d4a9aef83e
add retries to salt bootstrap download
2014-08-04 12:07:17 -04:00
brendandburns
67190d9872
Merge pull request #747 from kelseyhightower/getting-started-guides
...
Move getting started guides to dedicated directory
2014-08-04 09:06:03 -07:00
Clayton Coleman
f7149926c0
Remove expectNoError from client, kubelet, and util
2014-08-04 09:39:06 -04:00
Clayton Coleman
64bf2d9f63
Remove expectNoError from apiserver
2014-08-04 09:37:53 -04:00