Clayton Coleman
26f08b7807
RESTStorage should not need to know about async behavior
...
Also make sure all POST operations return 201 by default.
Removes the remainder of the asych logic in RESTStorage and
leaves it up to the API server to expose that behavior.
2015-02-11 16:26:08 -05:00
Clayton Coleman
d167c11b59
Remove layers of indirection between apiinstaller and resthandler
...
Make the RESTHandler feel more go-restful, set the stage for adding
new types of subresource collections.
2015-02-11 16:26:06 -05:00
Zach Loafman
7efc60580e
Port TestBasic and TestPrivate to Ginkgo syntax
...
Fixes #4261
2015-02-10 11:00:53 -08:00
Zach Loafman
a624b99ffa
Move basic.go to rc.go
2015-02-10 08:00:10 -08:00
Zach Loafman
a8991edf9e
Port endpoints.go test to new-style Gingko test
2015-02-09 12:37:56 -08:00
Zach Loafman
fe838fca64
Convert waitForPodSuccess to error form, glog->By
...
* Also add variable timeout as well
* And nail in coffin for glog in this file!
2015-02-09 07:48:07 -08:00
Zach Loafman
ff67052408
Convert waitForPodNotPending from glog to By, and to error form
...
Also change it to take a variable timeout
2015-02-09 07:32:41 -08:00
Zach Loafman
2e4a1e910b
Change loadClientOrDie to return an error
...
Also remove a bunch of dead code. This is a step along the path to
getting rid of all the glog in util.go.
2015-02-09 07:14:52 -08:00
Zach Loafman
2be3139926
Add a timeout to waitForPodRunning
...
* Add a timeout, convert the function to return an error (which gives
a reasonable status message for callers).
* Start converting glog to By.
2015-02-09 06:36:53 -08:00
Zach Loafman
afcfe96fc8
Merge pull request #4223 from rrati/e2e-events-4220
...
E2e events 4220
2015-02-06 17:03:39 -08:00
Zach Loafman
845605458a
Turn on color, turn on EmitSpecProgress
2015-02-06 15:24:32 -08:00
Robert Rati
5013375242
Converted TestKubeletSendsEvent to native ginkgo syntax #4220
2015-02-06 15:54:17 -05:00
Robert Rati
cfe96c08b9
Moved kubelet_sends_events to create new events test suite #4220
2015-02-06 15:20:14 -05:00
Zach Loafman
615b1ab605
Merge pull request #4211 from rrati/e2e-networking-4179
...
E2e networking 4179
2015-02-06 11:26:23 -08:00
Robert Rati
1be4ab2aaa
Moved TestImportantURLs to the networking suite #4179
2015-02-06 14:09:48 -05:00
Robert Rati
d75d36f3d3
Ported TestImportantURLs to native ginkgo syntax #4179
2015-02-06 14:09:48 -05:00
Robert Rati
a1dcec8a1c
Ported TestNetwork to native ginkgo syntax #4179
2015-02-06 14:09:46 -05:00
Robert Rati
6d171a458e
Renamed network.go to networking.go #4179
2015-02-06 10:47:03 -05:00
Zach Loafman
134d332793
Move verbosity flag into driver.go, randomize specs
...
Before we get too many suites baked, I want to get spec randomization
in, just so no one accidentally thinks things flow from top to bottom.
The random seed is printed with every run:
Random Seed: 1423194521 - Will randomize all specs
and can be reproduced using --ginkgo.seed
2015-02-05 19:49:04 -08:00
Brendan Burns
b08bd8671f
Merge pull request #4157 from saad-ali/updateEventApi
...
Add "Update Event" to Kubernetes API
2015-02-05 14:50:48 -08:00
Zach Loafman
9261c5a655
Remove timeout from cmd/e2e now that all tests are under it
2015-02-05 14:35:24 -08:00
Filipe Brandenburger
5de4c49792
Merge pull request #4153 from brendandburns/e2e
...
Add a simple endpoints test.
2015-02-05 13:54:33 -08:00
Zach Loafman
3fbfecccff
Merge pull request #4163 from rrati/e2e-services-4162
...
E2e services 4162
2015-02-05 12:06:37 -08:00
Robert Rati
70237e9cc6
Changed to return in the success case testing testContext instead of using
...
an else statement. #4162
2015-02-05 13:09:46 -05:00
Zach Loafman
688f96cd33
Run shell tests under Ginkgo, changing all reporting to JUnit
...
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.
* Rip out all the crap in hack/e2e.go that deal with multiple tests
* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00
Robert Rati
d3e04cd246
Moved the ROService test into the services suite #4162
2015-02-05 10:23:48 -05:00
Robert Rati
eefd7ace56
Converted TestKubernetesROService to native ginkgo syntax #4162
2015-02-05 10:23:48 -05:00
Robert Rati
d44c1d5b84
Converted TestClusterDNS to native ginkgo syntax #4162
2015-02-05 10:23:46 -05:00
Robert Rati
de848cc3f0
Moved cluster_dns to create the new service test suite #4162
2015-02-05 10:07:32 -05:00
saadali
a41f520bf0
Add "Update Event" to Kubernetes API
2015-02-05 00:07:51 -08:00
Brendan Burns
30f91b0ab7
Add a simple endpoints test.
2015-02-04 22:51:36 -08:00
Filipe Brandenburger
e9591382a7
Use a custom namespace for running liveness e2e test cases.
...
This will allow us greated isolation between test case runs without the
need to include randomized uuids to many of the fields in the pods,
services and rcs creation requests.
Tested:
- Ran two instances of `e2e -t TestLivenessHttp -t TestLivenessExec`
simultaneously and confirmed that pod names did not clash and that
both of them completed successfully.
2015-02-04 16:05:54 -08:00
Satnam Singh
9ec61ce355
Merge pull request #4004 from filbranden/e2e_podsvcenv_remove_embedded_json
...
Use api.Pod and api.Service objects instead of JSON snippets
2015-02-04 14:49:24 -08:00
deads2k
8a2fe9bd2b
modify policy to correctly identify resource versus kind
2015-02-04 13:36:01 -05:00
Zach Loafman
190afa542c
Reenable TestClusterDNS on GKE now that 0.9.2 is default
2015-02-04 09:34:40 -08:00
nikhiljindal
18609e1706
Moving /watch, /proxy and /redirect registration to go-restful
2015-02-03 15:47:48 -08:00
Robert Rati
50467043d5
Converted test in pods suite to use native Go definition of the api.Pod #4070
2015-02-03 15:29:23 -05:00
Filipe Brandenburger
f1c354981e
Use api.Pod and api.Service objects instead of JSON snippets
...
Start to use unique names for the pods and services. Later, we will
replace that by the use of namespaces.
We are also discussing using a versioned api, however that refactor can
happen on a follow up commit as well.
Tested by running cmd/e2e -t Pods against an API server in GCE.
2015-02-03 11:19:10 -08:00
Robert Rati
3a562b18a7
Moved TestPodHasServiceEnvVars into the pods test suite and deleted the
...
original file #3941
2015-02-03 09:17:14 -05:00
Robert Rati
da2594710a
Converted TestPodHasServiceEnvVars to native ginkgo syntax #3941
2015-02-03 09:17:14 -05:00
Robert Rati
eb5d340851
Added a submit/remove test to pods #3941
2015-02-03 09:17:14 -05:00
Robert Rati
e47b98db29
Converted TestPodUpdate to native ginkgo syntax #3941
2015-02-03 09:17:12 -05:00
Robert Rati
44510e11ac
Renamed the pod_update file to pods #3941
2015-02-03 08:50:46 -05:00
Alex Robinson
4b0e4a111e
Merge pull request #4035 from brendandburns/webtest
...
Fix contrib webserver so that it compiles.
2015-02-02 16:08:44 -08:00
Brendan Burns
8bce2ef61c
Fix contrib webserver so that it compiles.
2015-02-02 15:20:28 -08:00
Alex Robinson
9992abdfcf
Merge pull request #3997 from smarterclayton/make_master_index_optional
...
Make master index optional when master is used in other contexts
2015-02-02 12:45:18 -08:00
Clayton Coleman
5603714df8
Use name generation on pods via replication controllers
...
The generated name is '<controllerName>-%s', unless controllerName-
would be long enough to cause a validation error.
2015-02-02 14:44:53 -05:00
Satnam Singh
6d5c56b2a7
Merge pull request #3995 from filbranden/e2e_pod_update_remove_external_json
...
Convert load of api/examples/pod.json into native Go definition of the api.Pod
2015-02-02 11:37:19 -08:00
Alex Robinson
7868fe468e
Merge pull request #3618 from saad-ali/fix2410
...
Make master service IP static (no longer randomly assigned)
2015-02-02 11:05:58 -08:00
derekwaynecarr
d3579f0de0
Fix integration test to return 404 where a resource is not even supported
2015-02-02 10:26:19 -05:00