Commit Graph

11135 Commits

Author SHA1 Message Date
Jeff Grafton
86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Quinton Hoole
1ee33ac481 Merge pull request #8333 from ixdy/e2e-kubectl
e2e: don't try to clean up after rolling-update test
2015-05-15 11:46:04 -07:00
Jeff Lowdermilk
a5bc6bdaf3 Merge pull request #8166 from kargakis/labels-for-object
expose: Re-use labels in case none was specified
2015-05-15 11:35:52 -07:00
Prashanth B
0f98a1dd78 Merge pull request #8312 from wojtek-t/remove_gob
Remove gob reference as they are no longer needed after #8188
2015-05-15 11:26:20 -07:00
Jeff Grafton
fa77928c30 e2e: don't try to clean up after rolling-update test 2015-05-15 11:23:06 -07:00
Quinton Hoole
b79d510668 Merge pull request #8331 from GoogleCloudPlatform/revert-8278-no-ro-nettest
Revert "Fix networking test"
Fixes #8326
2015-05-15 11:05:47 -07:00
Quinton Hoole
a2d24d3e07 Revert "Fix networking test" 2015-05-15 11:04:23 -07:00
Vish Kannan
d2e291e8fc Merge pull request #8254 from jayunit100/e2e_hostPath
E2E hostPath test
2015-05-15 10:50:58 -07:00
Nikhil Jindal
bcdc5e3338 Merge pull request #8222 from caesarxuchao/walkthrough-example
Update k8s201.md to match PR#8011
2015-05-15 10:33:39 -07:00
Prashanth B
1f0b4c5e2a Merge pull request #8232 from zmerlynn/i8196
Ensure basic DNS functionality before doing real work in configure-vm.sh
2015-05-15 10:19:35 -07:00
Victor Marmol
43e4654333 Merge pull request #8292 from yujuhong/rm_podinfo
Remove /podInfo endpoint on kubelet
2015-05-15 08:42:02 -07:00
Filip Grzadkowski
6ec9821a69 Merge pull request #8317 from piosz/load_generator
Disabled e2e load test on Jenkins
2015-05-15 17:38:20 +02:00
Victor Marmol
d3c6fb0d6a Merge pull request #8275 from dchen1107/clean
Install monit_watcher as a cron job (1m) to check if monit is running,
2015-05-15 08:02:55 -07:00
Victor Marmol
e7750fa0c7 Merge pull request #8274 from yujuhong/filter_terminated
kubelet: filter out terminated pods before rejecting pods
2015-05-15 08:02:44 -07:00
Brendan Burns
28591c661d Merge pull request #8226 from caesarxuchao/gce-pd-example-remove
remove examples/gce-pd
2015-05-15 15:02:40 +01:00
Filip Grzadkowski
1970e24bad Merge pull request #8310 from wojtek-t/rename_conversion_generator
Refactor conversion generator
2015-05-15 15:51:12 +02:00
Wojciech Tyczynski
71a09f6b1d Merge pull request #8309 from gmarek/fix_e2e
Fix kubectl e2e test
2015-05-15 15:48:12 +02:00
Piotr Szczesniak
9786f09426 Disabled e2e load test on Jenkins 2015-05-15 15:27:57 +02:00
Wojciech Tyczynski
108615d081 Refactor conversion generator 2015-05-15 15:11:18 +02:00
gmarek
d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
Wojciech Tyczynski
e1d9694558 Remove gob 2015-05-15 13:44:37 +02:00
kargakis
ac652d16e6 expose: Re-use labels in case none was specified 2015-05-15 11:54:41 +02:00
Marek Grabowski
f57f317830 Merge pull request #8306 from lvlv/master
Fix a potential bug in TestControllerBurstReplicas
2015-05-15 10:56:20 +02:00
Lv Lv
433a249610 Fix a potential bug in TestControllerBurstReplicas: manager.podStore.Store.Add(&pod) actually adds a pointer to a local copy of pod 2015-05-15 13:41:34 +08:00
jayunit100
0a8577fced Test for hostPath which can eventually be refactored to also test emptyDir.
Add namespace support and remove requirement that host mount has to be type tmpfs
2015-05-14 23:09:21 -04:00
Robert Bailey
a91a7bfe77 Merge pull request #8265 from pmorie/e2e
Fix path construction bug in shell e2e
2015-05-14 19:37:15 -07:00
Victor Marmol
b00d844868 Merge pull request #8293 from BenTheElder/break_up_proxier
Move proxySocket out of proxier.go to proxysocket.go in pkg/proxy
2015-05-14 18:27:03 -07:00
Victor Marmol
c869f5d0cc Merge pull request #8282 from mbruzek/fixing-permissions
Fixing the permissions on python files.
2015-05-14 18:26:43 -07:00
Victor Marmol
296152ec6d Merge pull request #8281 from dchen1107/cleanup
OOM protected docker processes (-900)
2015-05-14 18:26:30 -07:00
Victor Marmol
7cc42209f5 Merge pull request #8278 from lavalamp/no-ro-nettest
Fix networking test
2015-05-14 18:26:15 -07:00
Victor Marmol
8d6dee9980 Merge pull request #8248 from pmorie/secrets-doc
Fix secrets example pod
2015-05-14 18:25:57 -07:00
Victor Marmol
8bc3e5121f Merge pull request #8188 from krousey/deep_copy
Changing the implementation of DeepCopy to use reflection
2015-05-14 18:25:30 -07:00
Yu-Ju Hong
4b40db3367 Remove /podInfo endpoint on kubelet
Kubelet sends pod status updates to the API server now. This endpoint is no
longer needed.
2015-05-14 17:51:26 -07:00
Victor Marmol
f701eba672 Merge pull request #8276 from antoineco/aws-update
refresh aws getting-started pages and templates
2015-05-14 16:38:08 -07:00
Paul Morie
3668f6ab5b Fix path construction bug in shell e2e 2015-05-14 19:37:24 -04:00
Brian Grant
268f1fd295 Merge pull request #8289 from krousey/api_conversion_doc
Advice to use default when no namespace is available.
2015-05-14 16:14:28 -07:00
BenTheElder
78d2fda480 Move proxySocket out of proxier.go to proxysocket.go
Moves proxySocket out of proxier.go to new proxysocket.go in proxy
package in order to start separating proxy logic and implementation and
make proxier more manageable to review.
2015-05-14 19:08:35 -04:00
CJ Cullen
213a1b5e71 Merge pull request #8290 from roberthbailey/unbound-var
Fix an unbound variable error when CA_CERT isn't set.
2015-05-14 15:51:55 -07:00
Jeff Grafton
a6785550ab Merge pull request #8288 from roberthbailey/fix-bas64
Remove newlines output by base64 on linux.
2015-05-14 15:51:13 -07:00
Dawn Chen
ebbb130af8 OOM protected docker processes (-900) 2015-05-14 15:49:12 -07:00
Robert Bailey
9edc359de7 Fix an unbound variable error when CA_CERT isn't set. 2015-05-14 15:42:16 -07:00
Kris
c62c6ef048 Advice to use default when no namespace is available. 2015-05-14 15:39:31 -07:00
Robert Bailey
a236f04a5f Remove newlines output by base64 on linux. 2015-05-14 15:39:26 -07:00
Victor Marmol
06447fa06d Merge pull request #8277 from aveshagarwal/doc-fixes
Fixed Typo.
2015-05-14 15:31:08 -07:00
Dawn Chen
e6c159eda2 Install monit_watcher as a cron job (1m) to check if monit is running,
and oom protect monit processes.
2015-05-14 15:19:11 -07:00
Matt Bruzek
985375e82b Changing hooks.py back to executable. 2015-05-14 16:51:55 -05:00
Victor Marmol
c50f906170 Merge pull request #8264 from thockin/proxier-retry
Unexport a symbol in proxier
2015-05-14 14:29:10 -07:00
Satnam Singh
c2e5420390 Merge pull request #8251 from RichieEscarez/add_kubectl_cmd_AND_improve_content_structure
Revised "accessing the cluster" help topic
2015-05-14 14:27:01 -07:00
Daniel Smith
f820704003 Fix networking test 2015-05-14 14:20:36 -07:00
RichieEscarez
581d2f73be Revised topic to clarify and enhance steps and examples:
Updated descriptions and added headers and into statements
Edited the redirect requests section and clarified steps in example
Replaced GCE with Google Compute Engine
Added two statements about the required forward slashes and inserted a '/' into each example.
2015-05-14 14:06:32 -07:00