Commit Graph

578 Commits (da9622a6d79ec1e9b05760538c853282b41d94a8)

Author SHA1 Message Date
Brendan Burns 9821c7f678 Delete any created load balancers in guestbook.sh 2015-03-09 13:38:45 -07:00
Clayton Coleman 42ff28c1a2 Merge pull request #5150 from vishh/issue_3628_1
Add json description to v1beta3 API.
2015-03-09 14:38:23 -04:00
Piotr Szczesniak 7c234d22ee Merge pull request #5177 from roberthbailey/guestbook-teardown
Always stop the guestbook example regardless of how the tests finishes.
2015-03-09 19:22:15 +01:00
Robert Bailey 451727aa19 Always stop the guestbook example regardless of how the tests finishes. This
should more reliably clean up the external load balancer.
2015-03-09 11:46:50 +01:00
Brendan Burns 2b7ae7fcd4 Fix coverage testing to work on OS X, where xargs is different. 2015-03-07 11:01:41 +01:00
Vishnu Kannan 17446061b0 Turn on "description:" verification for v1beta3 API. 2015-03-06 23:53:35 +00:00
Brendan Burns ee351b3f9c Merge pull request #5110 from justinsb/aws_ginkgo_auth_config_path
auth_config path for aws for ginkgo
2015-03-06 15:29:53 +01:00
Justin Santa Barbara 4066826b10 auth_config path for aws for ginkgo 2015-03-05 15:19:25 -08:00
Salvatore Dario Minonne 75f2efb500 moving ParseSelector to Parse for labels only. 2015-03-05 22:39:36 +01:00
roberthbailey adc1492c2e Revert "Improved guestbook.sh test to become actual test" 2015-03-04 21:00:46 -08:00
Jeff Lowdermilk 84ab8cc113 Merge pull request #4588 from piosz/guestbook_test
Improved guestbook.sh test to become actual test
2015-03-04 10:40:37 -08:00
markturansky a6a6947618 Added -E to sudo command 2015-03-04 10:14:46 -05:00
CJ Cullen 7bb7ba6577 Remove pd.sh now that we have pd.go 2015-03-03 15:14:15 -08:00
Filipe Brandenburger fbfbc7e086 Merge pull request #4686 from ixdy/parallelize-unit-tests
Parallelize execution of unit tests in hack/test-go.sh.
2015-03-03 10:05:25 -08:00
Filip Grzadkowski 6ad2b86181 Fix hack/test-cmd.sh so that it passes on a local machine 2015-03-03 17:23:55 +01:00
Lénaïc Huard d64f0f1183 Make libvirt-CoreOS cluster able to run e2e tests 2015-03-02 23:11:48 +01:00
Jeff Grafton fbd11a1a23 Renable code coverage collection in unit tests, including on Travis.
When code coverage is not being collected, just issue a single 'go test'
command, as is already done. Go will internally parallize execution.

When code coverage is being collected, it is necessary to issue separate
'go test' commands for each package, since Go does not support
collecting coverage across packages. Using xargs -P will parallelize
these invocations, however, speeding up test execution.
The number of simultaneous processes to use can be specified with
KUBE_COVERPROCS.

Update Travis config to pass along the number of CPUs to use for running
tests.
2015-03-02 13:04:13 -08:00
Piotr Szczesniak cc707ab114 Improved guestbook.sh test to become actual test
After change test waits until pods come up, then adds
entry to guestbook and verify if operation succeed

This fixes #3693
2015-03-02 21:19:39 +01:00
Robert Bailey 3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
roberthbailey 3a21d295ec Merge pull request #4848 from jlowdermilk/cleanup
Remove update.sh now that e2e/kubectl.go is stable
2015-02-27 10:36:08 -08:00
Tim Hockin 7fe7de45e7 Merge pull request #4873 from justinsb/add_skip_push_gcs_2
Add SKIP_PUSH_GCS env so we can run without a push to GCS
2015-02-26 15:41:39 -08:00
Brendan Burns 0d23875c99 Merge pull request #4497 from swagiaal/health-check-hostname-mismatch
WIP: Catch kubelet-master hostname mismatch during health check
2015-02-26 14:48:21 -08:00
Justin Santa Barbara 27c3031506 Add SKIP_PUSH_GCS env so we can run without a push to GCS 2015-02-26 14:02:16 -08:00
Mike Danese c9fcf45fd9 fix bad cmd-test for patch. 2015-02-26 11:21:03 -08:00
Jeff Lowdermilk 31b990a415 Remove update.sh now that e2e/kubectl.go is stable 2015-02-26 09:51:39 -08:00
Sami Wagiaalla 9150cb9d95 Catch kubelet-master hostname mismatch during health check
During the kubelet's /healthz responce check to see if the
hostname used by the master matches the hostname the kubelet
knows itself by. If not fail the health check.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-02-26 10:22:03 -05:00
Zach Loafman 57fe439adf Merge pull request #4773 from lhuard1A/test-cmd
Assert pre and post conditions of all commands in test-cmd.sh
2015-02-26 07:00:29 -08:00
Zach Loafman f12f50e996 Merge pull request #4826 from a-robinson/certs
Rip out the certs.sh test since the certs.go test has been stable
2015-02-25 14:24:08 -08:00
Alex Robinson ba12f9e229 Rip out the certs.sh test since the certs.go test has been stable. 2015-02-25 13:26:19 -08:00
Zach Loafman 84a2a9766a Revert "Remove host ports from the update demo and update tests" 2015-02-25 09:56:03 -08:00
Zach Loafman 2089324555 Revert "Use a different port for the kubectl proxy in the shell and go tests." 2015-02-25 09:54:54 -08:00
Robert Bailey e7d67e4449 Use a different port for the kubectl proxy in the shell and go tests. 2015-02-25 09:32:41 -08:00
Lénaïc Huard c23046dc0a Assert pre and post conditions of all commands in test-cmd.sh
`hack/test-cmd.sh` contains a list of `kubectl` commands to test.
However, the effect of the execution of those commands was not systematically
checked. As a consequence, it was possible to break a command without breaking
those tests.

This commit surrounds every single `kubectl` command with assertions on
pre and post condition.
2015-02-25 18:26:30 +01:00
Robert Bailey dd87c247a5 Remove host ports from the update demo and update tests 2015-02-24 15:34:18 -08:00
rsokolowski 635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Masahiro Sano 29aae75329 fix missing command in test-cmd.sh 2015-02-24 23:20:45 +09:00
Jeff Grafton 0f2e9dbac8 Revert "Use goveralls to report coverage results from Travis."
Revert "Produce a combined coverage report when running Go unit tests."

These caused unit tests to run very slowly, causing problems with
Travis.
2015-02-23 14:35:48 -08:00
Zach Loafman c0067656fb Revert "Add SKIP_PUSH_GCS env so we can run without a push to GCS" 2015-02-23 11:15:54 -08:00
Rohit Jnagal 28dd73dd8c Merge pull request #4667 from endocode/kbeecher/multi-resource
Adds support for multiple resources to kubectl
2015-02-23 10:29:32 -08:00
Zach Loafman 5269e06aa1 Merge pull request #4315 from justinsb/add_skip_push_gcs
Add SKIP_PUSH_GCS env so we can run without a push to GCS
2015-02-23 10:08:38 -08:00
Salvatore Dario Minonne 163ae10d78 adding minimal test for label command to hack/test-cmd.sh 2015-02-22 17:44:39 +01:00
Alex Robinson 5ea0895987 Merge pull request #4682 from a-robinson/e2e
Un-revert #4551 which moved the certs.sh e2e test to ginkgo and fix the e2e auth breakage it caused
2015-02-20 15:50:00 -08:00
Alex Robinson fe42cd1235 Un-revert #4551 which moved the certs.sh e2e test to ginkgo and fix the
e2e auth breakage it caused. The fix is to not set project/zone/kube_master
to the empty string partway through the script, which I should have
realized was a bad idea in the first place.
2015-02-20 15:31:59 -08:00
Brian Grant 194f6571b8 Merge pull request #4545 from yujuhong/fixdochook
Fix hack/verify-description.sh to actually surface the error
2015-02-20 15:07:19 -08:00
Satnam Singh 8c7806dc4a Merge pull request #4637 from jlowdermilk/examples-e2e
Port update.sh to ginkgo test
2015-02-20 14:58:50 -08:00
Jeff Lowdermilk b389b360f8 Port update.sh to ginkgo test 2015-02-20 13:17:15 -08:00
Daniel Smith 17feadf977 Merge pull request #4240 from thockin/hyperkube
Hyperkube cleanup
2015-02-20 11:12:32 -08:00
Daniel Smith a5fdac2f3f Merge pull request #4649 from sdminonne/bug_fix
Adding resize command to hack/test.cmd.sh
2015-02-20 10:47:32 -08:00
Tim Hockin 0810e1fa99 build hyperkube 2015-02-20 08:49:11 -08:00
Eric Paris 9965604d4b check gofmt with golang 1.4 2015-02-20 10:31:06 -05:00