Commit Graph

61 Commits (41f89075396329cd46c58495c7d3f7e13adcaa96)

Author SHA1 Message Date
Jeff Lowdermilk 4b36b421aa e2e test for kubectl exec, port-forward 2015-07-01 10:56:10 -07:00
Robert Bailey f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Mike Danese dd07df00ae reenable e2e test 2015-06-25 12:29:21 -07:00
Karl Isenberg 32a09cfcee Use Ginkgo Skip() to avoid failing when tests are skipped
- Added util methods: Skipf, SkipUnlessNodeCountIsAtLeast, SkipIfProviderIs,
  and SkipUnlessProviderIs
2015-06-25 09:50:25 -07:00
Isaac Hollander McCreery 6de8032113 Update kubectl test to include changes to rolling update 2015-06-23 09:36:29 -07:00
Prashanth Balasubramanian adc1a26c37 fix rolling update e2e test 2015-06-10 18:09:20 -07:00
jayunit100 f3da07552a Fix bad namespace 2015-06-02 23:27:09 -04:00
jayunit100 bcc735af19 Revert "Merge pull request #9166 from GoogleCloudPlatform/revert-8504-ginkgo-names"
This reverts commit 479e5005f5, reversing
changes made to 5115f0e6bc.
2015-06-02 23:23:44 -04:00
Brian Grant b3550bcacf Revert "Cleanup ginkgo declarative naming in E2Es" 2015-06-02 20:16:41 -07:00
jayunit100 e6583ef7d7 Cleanup ginkgo declarative naming in E2Es 2015-06-02 17:56:44 -04:00
Justin Santa Barbara 1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Anastasis Andronidis 9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Quinton Hoole 14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
Maxwell Forbes b963307496 Merge pull request #8473 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e (attempt N+1)
2015-05-19 10:48:14 -07:00
Jeff Grafton bf1de72f4a Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
This reverts commit f4bb6aa37d.
2015-05-19 09:13:08 -07:00
He Simei 09fc2a5013 improve retry logic with standard wait.Poll()
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-19 21:31:27 +08:00
Quinton Hoole f4bb6aa37d Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)" 2015-05-18 21:04:26 -07:00
Jeff Grafton b79fae5d71 Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
This reverts commit 67da1ac0c8.
2015-05-18 11:39:21 -07:00
Jeff Grafton 67da1ac0c8 Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
This change broke compilation on go 1.3 and running e2e tests on OS X.

This reverts commit 86b023fdd6.
2015-05-15 16:41:55 -07:00
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
Jeff Grafton fa77928c30 e2e: don't try to clean up after rolling-update test 2015-05-15 11:23:06 -07:00
gmarek d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Quinton Hoole bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Quinton Hoole 3602884d32 Merge pull request #7462 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
jayunit100 864c668a51 E2E: Update kubectl.go - remove default NS and use idiomatic namepsace lifecycle 2015-04-29 22:58:35 -04:00
Jeff Grafton 57750ccb51 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.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

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
  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.)
2015-04-28 18:42:37 -07:00
Robert Bailey feb7abcada Ensure that e2e tests run on gce|gke and are appropriately
skipped for other cloud providers.
2015-04-20 15:04:31 -07:00
jayunit100 0f0c0700ff E2E: Add Api Server option to kubectl 2015-04-20 15:54:26 -04:00
Timothy St. Clair a7fb93bb55 Disable guestbook test for non-gce|gke due to
"createExternalLoadBalancer": true
2015-04-15 16:14:48 -05:00
nikhiljindal a2c29d48ec Removing references to v1beta1 from hack/ and test/ 2015-04-14 11:31:37 -07:00
nikhiljindal f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Zach Loafman 1ff0a1e2a1 Merge pull request #6270 from jlowdermilk/gcloud-updates
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
jayunit100 ef1508867d Revert 'Merge pull request #6008 from GoogleCloudPlatform/revert-5773-e2e_kubectl_util' with additional clean up, disambiguate the container name from the json contents. 2015-03-27 11:26:58 -04:00
Robert Bailey 6db95790c5 Revert "Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats." 2015-03-26 12:22:04 -07:00
Robert Bailey 0c4f8cb711 Merge pull request #5773 from jayunit100/e2e_kubectl_util
Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats.
2015-03-26 07:38:09 -07:00
jayunit100 60542d04ad Move core functionality to utils.go, to pave way for incorporating broader testing from examples (push to restart the build) 2015-03-26 09:41:44 -04:00
Piotr Szczesniak 66c5a0768d Increased response timeout in kubectl e2e test
Should help for #5825. I ran the test 30 times and all passed.
2015-03-24 13:59:45 +01:00
Piotr Szczesniak 04ea0a8a82 Added waiting for new entry in kubectl e2e test
The test tends to fail because after an entry is added to data-base it takes
some time to replicate it from redis-master to redis-slave
2015-03-18 19:47:04 +01:00
Piotr Szczesniak 2533ddffa5 Ported guestbook.sh e2e test to ginkgo
This fixed #5045
2015-03-16 18:33:15 +01:00
Jeff Lowdermilk 7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Jeff Lowdermilk a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Satnam Singh 89bc7bbea9 Merge pull request #5154 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk 4173d369aa Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Jeff Lowdermilk 8ab723404f Include seconds waited in e2e/kubectl.go timeout message. 2015-03-06 16:54:16 -08:00
roberthbailey ca9d24304b Merge pull request #5106 from jlowdermilk/e2e
Make e2e pod start timeouts uniform
2015-03-05 16:39:10 -08:00
Jeff Lowdermilk 083f29158f Make e2e pod start timeouts uniform 2015-03-05 15:54:45 -08:00