Commit Graph

32 Commits (5ea41906d41728fd826ba453319c55d56d21a9ef)

Author SHA1 Message Date
deads2k 2952af0d59 expose e2e methods for downstream use 2015-08-12 15:38:51 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Mike Danese 17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
jayunit100 739e79dd9f Modularized implementation of prompush json with e2e running pending push gateway gauges. 2015-07-28 09:29:57 -04:00
Marcin Wielgus 3d82de849f E2E test for examples/storm 2015-07-23 13:20:52 +02:00
Max Forbes 7cfabea2d3 E2E upgrade test: allow upgrade target version to be specified via command line. 2015-07-09 14:28:58 -07:00
Brendan Burns 988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Jeff Grafton f1c5b04100 e2e: call coreDump always when a report dir is specified 2015-06-30 13:30:10 -07:00
Justin Santa Barbara 4461daa218 AWS: Enabling resize tests 2015-06-24 19:01:42 -04:00
Eric Tune c5efb12a62 Revive conformance test.
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).

Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.

Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.

Set NUM_MINIONS (need better way to handle this).

Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.

Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Max Forbes 434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
jayunit100 19b3017fb5 Parameterization of minStartupPods 2015-06-10 19:37:06 -04:00
Sami Wagiaalla 899cf360ba Add a prefix option to e2e for use with resources
This is helpful when cleaning manually up after a failed test in
shared a gce environment.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-09 13:29:41 -04:00
jayunit100 e93d317437 Add a --e2e-output-dir for use in e2e tests (default is /tmp/) 2015-06-05 19:15:50 -04:00
Justin Santa Barbara 1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Quinton Hoole 851f6b7542 Merge pull request #8852 from brendandburns/core
Add a 'core dump' to failed tests.
2015-05-27 14:14:13 -07:00
Brendan Burns 199ed54599 Add a 'core dump' to failed tests. 2015-05-27 11:39:08 -07:00
jayunit100 6e4160eeb0 Set option for KubectlPath (kubectl-path) for E2E tests. 2015-05-26 21:46:59 -04:00
Maxwell Forbes 4a21bd535e Merge pull request #8677 from jayunit100/minStartupPods
Make minStartupPods feature backward compatible default value = 0.
2015-05-22 09:54:32 -07:00
jayunit100 7063da41da Make minStartupPods feature backward compatible default value = 0. 2015-05-22 10:05:03 -04:00
Jerzy Szczepkowski ef965a60f2 Implementation of e2e test that resizes cluster (works on GCE). 2015-05-22 02:59:25 +02:00
Max Forbes 1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -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
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 35c4b92e92 Make e2e compatible with Go 1.3 and OS X.
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.

The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -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
Quinton Hoole bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Jeff Grafton d85494220b Remove --orderseed and --times flags from the e2e test.
Similar functionality for both is already provided by the Ginkgo runner
itself.
2015-04-29 16:59:15 -07: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