Commit Graph

299 Commits

Author SHA1 Message Date
Justin Santa Barbara
fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Karl Isenberg
f1d6439c2e Add timeout to service endpoint resolution e2e test 2015-07-01 14:58:37 -07:00
Jeff Lowdermilk
4b36b421aa e2e test for kubectl exec, port-forward 2015-07-01 10:56:10 -07:00
Jordan Liggitt
ecebac9395 Add option to require API tokens to exist in admission 2015-06-30 16:12:45 -04:00
Alex Robinson
450d36f7af Merge pull request #10301 from satnam6502/e2e
Retry namespace creation for e2e tests
2015-06-29 14:32:32 -07:00
Marek Biskup
01e1d3710a add description to timeout messages 2015-06-29 10:25:39 +02:00
Robert Bailey
198b334227 Merge pull request #10197 from mesosphere/ginkgo-skip
Use ginkgo's new Skip()
2015-06-26 10:44:34 -07:00
Satnam Singh
59ee8c24ea Retry namespace creation for e2e tests 2015-06-25 12:18:42 -07:00
Maxwell Forbes
d0eeb98e27 Merge pull request #10215 from ZJU-SEL/enhance-testContainerOutput
Enhance test api to support test cases involved multiple containers
2015-06-25 10:56:13 -07:00
Maxwell Forbes
8b0efe8b85 Merge pull request #10345 from wojtek-t/increase_rc_timeout
Increase timeout for waiting for pods running in load test
2015-06-25 10:00:05 -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
Wojciech Tyczynski
c151f6bc1f Increase timeout for waiting for RC in load test 2015-06-25 12:11:01 +02:00
He Simei
912e54789e Enhance test api to support test cases involved multiple containers 2015-06-25 09:29:19 +08:00
Maxwell Forbes
26d3a4429d Merge pull request #9816 from erictune/conformance
Revive conformance test.
2015-06-24 13:20:46 -07:00
Wojciech Tyczynski
8ca4d10026 Fix logging in scalability tests 2015-06-24 11:40:08 +02:00
Wojciech Tyczynski
5b4dc4edaa Merge pull request #10225 from wojtek-t/increase_deleting_namespace_timeout
Increase timeout for namespace deletion.
2015-06-24 08:35:02 +02:00
Wojciech Tyczynski
6b6b409814 Increase timeout for namespace deletion. 2015-06-24 08:05:26 +02:00
Wojciech Tyczynski
2a1834f7ed Reset metrics in tests 2015-06-24 08:04:21 +02: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
Jeff Lowdermilk
bec793119b Merge pull request #10175 from wojtek-t/wait_for_namespaces
In scalability tests wait until terminating namespaces are deleted
2015-06-22 13:21:52 -07:00
Wojciech Tyczynski
47b6e6a84e Wait for terminating namespaces deletion 2015-06-22 14:53:05 +02:00
Justin Santa Barbara
efdd03a6a9 Don't assume we always SSH as the current user
This works on gcloud (where the user is dynamically created by the tool),
but doesn't hold on other clouds (e.g. AWS).

The function in pkg/util now takes a user arg, and it is called only
from the e2e tests, which now check for env-var KUBE_SSH_USER, and then
fall back to the existing behaviour of env-var USER.

I am using this from Jenkins by directly setting the env-var:

export KUBE_SSH_USER=jenkins
...
hack/jenkins/e2e.sh
2015-06-20 18:18:38 -04:00
Max Forbes
434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
Max Forbes
2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Marek Biskup
a02752ad12 stabilization of Network.should survive network partition 2015-06-18 16:39:27 +02:00
Justin Santa Barbara
b4150dc928 AWS: e2e: Add support for getSigner for AWS 2015-06-17 00:35:47 -04:00
Marek Biskup
dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
Marek Grabowski
01f0eac2bd Merge pull request #9714 from fgrzadkowski/debug_scalability
Fix printing deleted pods from RC during e2e tests
2015-06-15 13:29:59 +02:00
Daniel Smith
e29245f710 add proxy tester 2015-06-12 17:17:43 -07:00
Filip Grzadkowski
4ffb4b2895 Fix printing deleted pods from RC during e2e tests 2015-06-12 16:15:29 +02:00
Marek Biskup
d89e1293a2 skip not ready nodes in networking test 2015-06-12 09:29:42 +02:00
Abhi Shah
bd6db7b175 Merge pull request #8793 from jayunit100/minpods
Parameterize minStartupPods
2015-06-11 11:22:44 -07:00
Marek Grabowski
0bee4aa76b Merge pull request #9571 from fgrzadkowski/fix_load_test
Simplify e2e.RunRC method and wait up to 10 minutes for pods to start
2015-06-11 15:19:55 +02:00
Filip Grzadkowski
03f161def2 Simplify e2e.RunRC method and wait up to 10 minutes for pods to start 2015-06-11 14:22:47 +02:00
jayunit100
19b3017fb5 Parameterization of minStartupPods 2015-06-10 19:37:06 -04:00
Abhi Shah
547b3a7ef2 Merge pull request #9409 from lavalamp/e2eTestFix
switch to generateName for namespace creation
2015-06-10 13:31:10 -07:00
krousey
43a423f6fc Merge pull request #9440 from brendandburns/ssh
Add an initial test for SSH.
2015-06-09 12:08:26 -07:00
krousey
cf4b4a313b Merge pull request #9335 from swagiaal/e2e-test-prefix
Add a prefix option to e2e for use with resources
2015-06-09 11:50:02 -07:00
krousey
9740105a99 Merge pull request #8837 from mbforbes/rollingTest
E2E test node upgrade (to same version)
2015-06-09 10:42:17 -07: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
Filip Grzadkowski
ea7a615ce6 Refactor load test and reduce the load during the test. 2015-06-09 16:44:23 +02:00
Brendan Burns
2240486110 Add an initial test for SSH. 2015-06-08 20:53:05 -07:00
krousey
2bb0fc00e5 Merge pull request #9392 from jszczepkowski/e2e-net
Added e2e test case for network partition.
2015-06-08 11:35:28 -07:00
Daniel Smith
ace6e9d186 switch to generateName for namespace creation 2015-06-08 10:53:06 -07:00
Sami Wagiaalla
28d501d332 Fix createTestingNS function name in godoc
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-08 11:15:58 -04:00
Jerzy Szczepkowski
445ae0f576 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce.
2015-06-08 14:08:32 +02:00
jayunit100
e93d317437 Add a --e2e-output-dir for use in e2e tests (default is /tmp/) 2015-06-05 19:15:50 -04:00
Quinton Hoole
4b84782e64 Merge pull request #9322 from liggitt/e2e_service_account_wait
Wait for default serviceaccount in e2e createTestingNS
2015-06-05 12:54:27 -07:00
Quinton Hoole
8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Jordan Liggitt
4754a6aea1 Wait for default serviceaccount in e2e createTestingNS 2015-06-05 13:33:23 -04:00
markturansky
b9d7b27bd0 Added watch to e2e instead of sleep, used GenerateName for objs 2015-06-04 23:08:46 -04:00
Chao Xu
d3664957b1 replace v1beta3 with v1 in e2e tests 2015-06-04 17:42:00 -07:00
Brian Grant
e7788771d6 Merge pull request #9030 from brendandburns/kubectl
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Max Forbes
a6c47a07de E2E test node upgrade (to same version) 2015-06-03 17:05:45 -07:00
Robert Rati
a248d0ccf9 Default RunRC to check every 10 seconds if an internval isn't provided. #7572 2015-06-03 15:00:28 -04:00
Robert Rati
4f9046332d Minor fixes and clarifications. #7572 2015-06-03 15:00:27 -04:00
Robert Rati
4e05d85413 Fixed issue reading empty response from a get in getDebugInfo. #7572 2015-06-03 15:00:27 -04:00
Robert Rati
13b8d947fc Revert "Revert "Added metrics/debug gathering methods to utils and used them in density ...""
This reverts commit 70500a64a7.
2015-06-03 15:00:27 -04:00
Brendan Burns
ab0c9b8e1e Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout. 2015-06-03 11:21:30 -07:00
Brian Grant
43cc6ed3ed Revert "Added e2e test case for network partition." 2015-06-03 07:04:41 -07:00
Piotr Szczesniak
f71baba64f Increased failCount param in RunRC function for e2e tests.
The previous value was 10 (equivalent of 50sec) current is 24 (2min).
Time in brackets mean: how long should I wait for the next pod of RC to be created.

While we are creating 3000 pods for scalability tests it tends to fail.
2015-06-03 13:50:51 +02:00
Filip Grzadkowski
98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
Brian Grant
464224f50d Merge pull request #8862 from jszczepkowski/e2e-net
Added e2e test case for network partition.
2015-06-02 13:07:46 -07:00
Brian Grant
b7ae48eb1e Merge pull request #8641 from smarterclayton/gracefully_delete_pods
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Jerzy Szczepkowski
44f11ea662 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce. Finally fixes to #7051.
2015-06-02 13:09:21 +02:00
Filip Grzadkowski
d7f242b8b0 Merge pull request #8873 from piosz/load_generator
Re-enabled load e2e test for Jenkins scalability suite
2015-06-02 04:05:23 -07:00
Piotr Szczesniak
a2116f2bc1 Re-enabled load e2e test for Jenkins scalability suite
Also increased next pod startup waiting time from 100s to 200s
to eliminate flakiness by incresing failCount param.
2015-06-02 11:26:42 +02:00
Filip Grzadkowski
7580006771 Merge pull request #9059 from fgrzadkowski/watch_density
Use watch-based cache in density e2e tests.
2015-06-02 02:00:26 -07:00
Clayton Coleman
f1eaa8a27b Delete resources immediately from e2e tests 2015-06-01 19:24:02 -04:00
Filip Grzadkowski
7814297acc Use watch-based cache in density e2e tests. 2015-06-01 17:18:56 +02:00
Justin Santa Barbara
1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Rohit Jnagal
233ce46b83 Merge pull request #8923 from caesarxuchao/TerminationToTerminated
Update ContainerState.Termination to ContainerState.Terminated
2015-05-29 14:51:09 -07:00
Rohit Jnagal
d34d00c288 Merge pull request #8898 from brendandburns/tunnel
Move SSH code into a common util package.  Add support for SSH tunnels.
2015-05-29 14:48:37 -07:00
Rohit Jnagal
38c1fe112f Merge pull request #9006 from GoogleCloudPlatform/revert-8927-revert-8822-fifo_rc
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown t…
2015-05-29 11:11:38 -07:00
Rohit Jnagal
2c4ceca1cf Merge pull request #8974 from lavalamp/networkTimeout
Use spew for more informative debug output
2015-05-29 09:33:54 -07:00
Rohit Jnagal
ff51f0b2e1 Merge pull request #8696 from derekwaynecarr/force_namespace_creation
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Prashanth B
6c209ec193 Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"" 2015-05-29 09:24:39 -07:00
Daniel Smith
02b1331512 Use spew for more informative debug output 2015-05-28 17:20:42 -07:00
Chao Xu
2f6e5e2e08 Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go 2015-05-28 17:18:24 -07:00
Tim Hockin
081ab3abac Merge pull request #8853 from caesarxuchao/HostToNodeName
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Chao Xu
9c1153322e update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go 2015-05-28 14:10:06 -07:00
derekwaynecarr
3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Tim Hockin
b69fad211e Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones" 2015-05-28 10:23:55 -07:00
Wojciech Tyczynski
6ffe46a9e0 Merge pull request #8822 from bprashanth/fifo_rc
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
Brendan Burns
a51747f941 Move SSH code into a common util package. Add support for SSH tunnels. 2015-05-27 16:58:52 -07:00
Prashanth Balasubramanian
8fa66bd962 Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster 2015-05-27 16:45:51 -07:00
Daniel Smith
fe58bf16e8 Give up waiting for failed pods + print status 2015-05-27 16:07:39 -07:00
Anastasis Andronidis
9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
jayunit100
6e4160eeb0 Set option for KubectlPath (kubectl-path) for E2E tests. 2015-05-26 21:46:59 -04:00
Filip Grzadkowski
39483ffa90 Merge pull request #8779 from wojtek-t/failing_rc_delete
Increase timeout for deleting RC in e2e tests.
2015-05-26 01:43:34 -07:00
Filip Grzadkowski
892ce56cec Print top 5 latency metrics even if they are below threshold 2015-05-25 14:58:23 +02:00
Wojciech Tyczynski
ff8c772fe0 Increase timeout for deleting RC in e2e tests. 2015-05-25 11:51:11 +02:00
Wojciech Tyczynski
abc24fa65c Ignore /proxy from performance metrics 2015-05-25 09:21:26 +02:00
Dawn Chen
4cad3b568f Merge pull request #8644 from mbforbes/e2eLogBetter
Better logging for e2e start (debug failing pods)
2015-05-22 16:01:34 -07:00
Filip Grzadkowski
70500a64a7 Revert "Added metrics/debug gathering methods to utils and used them in density ..." 2015-05-22 13:00:46 -07:00
Dawn Chen
7c80f3d985 Merge pull request #7573 from rrati/performance-gathering-7572
Added metrics/debug gathering methods to utils and used them in density ...
2015-05-22 10:17:15 -07:00
Jerzy Szczepkowski
ef965a60f2 Implementation of e2e test that resizes cluster (works on GCE). 2015-05-22 02:59:25 +02:00
Max Forbes
40ba1e3043 Better logging for e2e start (debug failing pods) 2015-05-21 16:48:30 -07:00
Dawn Chen
df6c670639 Merge pull request #8500 from rrati/e2e-host-option-fix-8499
The e2e tests will re-honor --host option. #8499
2015-05-21 09:17:44 -07:00
Robert Rati
3191b26bc6 Only sleep 1.1*interval. #7572 2015-05-19 18:40:21 -04:00
Jeff Grafton
e968b6be81 Merge pull request #8442 from mbforbes/e2ePodsReady
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Quinton Hoole
14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
Robert Rati
b7486b0ca2 The e2e tests will re-honor --host option. #8499 2015-05-19 14:13:11 -04:00
Max Forbes
1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -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
Robert Rati
7361f751a6 Create a config struct for RunRC and allow polling interval to be
configurable.  #7572
2015-05-19 13:37:37 -04:00
Robert Rati
9e06132ed3 Minor cleanup. #7572 2015-05-19 13:22:20 -04: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
Robert Rati
9caee9ad16 Moved FifoQueue to separate file and minor cleanup. #7572 2015-05-19 10:25:02 -04:00
Robert Rati
b78576386f Use getMetrics in ReadLatencyMetrics. #7572 2015-05-19 10:23:17 -04:00
Robert Rati
ac282bd50a Cleaned up the output files. #7572 2015-05-19 10:23:17 -04:00
Robert Rati
ec5e7093b6 Created a fifo queue containing results from listing pods and checks
from from the queue to generate finer granularity #7572
2015-05-19 10:23:17 -04:00
Robert Rati
bd3306c845 Moved writePerfData to utils. #7572 2015-05-19 10:14:47 -04:00
Robert Rati
a89121cb70 Added metrics/debug gathering methods to utils and used them in density #7572 2015-05-19 10:14:47 -04: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
Brendan Burns
ab0844840a Merge pull request #8246 from rrati/red-flag-pod-termination
Correct logic for failing after % of containers fail. #7790
2015-05-16 02:46:07 +01:00
Max Forbes
5d1d37f9ca Add a node reboot test. 2015-05-15 17:25:28 -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
Robert Rati
30c7dbc7bd Correct logic for failing after % of containers fail. #7790 2015-05-15 10:06:30 -04:00
gmarek
d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
Rohit Jnagal
bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Prashanth Balasubramanian
5de27ede44 Add clarity to density tests 2015-05-13 16:34:45 -07:00
Jeff Lowdermilk
3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Piotr Szczesniak
2cee828c91 Added more logging to load e2e test 2015-05-13 16:12:17 +02:00
Piotr Szczesniak
962f10ee58 Merge pull request #7771 from piosz/load_generator
Implemented first version of load test
2015-05-12 09:24:19 +02:00
Piotr Szczesniak
aa116e2033 Implemented first version of load test
As for now it creates a bunch of Replication Controllers and play with them

Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k
19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Wojciech Tyczynski
1d59a0351f Merge pull request #7857 from fgrzadkowski/fix_jenkins
Ignore latency metrics for events
2015-05-07 13:26:12 +02:00
Filip Grzadkowski
c073c9b9c9 Ignore latency metrics for events 2015-05-07 10:19:22 +02:00
jayunit100
7d4249da57 E2E: Parameterize Density failure 2015-05-06 19:41:09 +00:00
Filip Grzadkowski
551cec2a21 Verify request latency in e2e performance tests. 2015-05-05 11:50:52 +02:00
Max Forbes
f2173627ff Log which SSH key is used in e2e SSH test to help debug #7714 2015-05-04 13:55:05 -07:00
Wojciech Tyczynski
18b7eda07c Log host for failed pod 2015-05-04 15:14:23 +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
Clayton Coleman
d03b5299f9 Merge pull request #7432 from piosz/termination_notice
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
CJ Cullen
b15e2e7340 Merge pull request #7544 from jayunit100/kubectl-ns
E2E: Update kubectl.go - remove default NS and use idiomatic namepsace l...
2015-04-30 10:43:50 -07:00
Piotr Szczesniak
11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00
jayunit100
864c668a51 E2E: Update kubectl.go - remove default NS and use idiomatic namepsace lifecycle 2015-04-29 22:58:35 -04:00
Max Forbes
6102704877 Implement Go e2e SSH utility and simple test that runs it on all nodes. 2015-04-29 11:28:17 -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
Jeff Grafton
ae019935b3 Call the cluster/kubectl.sh wrapper in e2e tests.
The ginkgo wrapper script used to set up the path so that tests would
find the appropriate kubectl binary, but this seems like a cleaner way
to achieve the same result.
2015-04-28 16:14:36 -07:00
Wojciech Tyczynski
3f165a742d Don't fail performance tests on single fail event 2015-04-28 13:59:24 +02:00
Robert Rati
caf70a28b4 Added a method to verify no containers in a pod have failed. The density
test is modified to use this method.  #7374
2015-04-27 14:05:41 -04:00
Paul Morie
5f25dd24d9 Make argument order for testContainerOutputInNamespace consistent 2015-04-27 10:04:19 -04:00
jayunit100
79d26997a2 E2E: FIX util.go testContainerOutputInNamespace to properly check the namespace. 2015-04-26 18:54:10 -04:00