Commit Graph

99 Commits

Author SHA1 Message Date
Maciej Szulik
2ab885a53a Revert commit a31ca0dc98 and move batch/v2alpha1 tests to separate group in KUBE_TEST_API_VERSIONS 2016-06-10 01:11:56 +02:00
Piotr Szczesniak
22dc21d703 Removed metrics api group 2016-05-31 09:48:39 +02:00
Wojciech Tyczynski
19ccbb9f99 Speed up test, by not running with custom etcd prefix 2016-05-27 14:30:24 +02:00
Eric Chiang
323e804f39 add rbac for tests and kubectl 2016-05-25 14:25:56 -07:00
Maciej Szulik
a31ca0dc98 enable batch/v2alpha1 tests 2016-05-10 22:40:24 +02:00
Tim Hockin
527cb50583 Demand at least go1.6 2016-05-08 20:30:37 -07:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Matt Liggett
c00fa39eee Define PodDisruption API types. 2016-05-06 17:24:53 -07:00
jianhuiz
1c1ad1ad3f add cluster registry 2016-04-26 02:06:47 -07:00
nikhiljindal
75b0842388 Removing KUBE_API_VERSIONS from our test scripts 2016-04-21 13:56:04 -07:00
Prashanth Balasubramanian
0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
Eric Chiang
b50ede606f *: enable authorization.k8s.io/v1beta1 extensions for go tests 2016-02-22 11:49:01 -08:00
Eric Tune
cef288eb42 Warn when not enough FDs
Helps debug problem when running tests on OS X.
2016-02-22 07:27:10 -08:00
Eric Tune
d5f303d3d7 Fixed and added tests 2016-02-19 09:20:56 -08:00
Piotr Szczesniak
d9705940d6 Fixed and added tests 2016-02-15 21:39:00 +01:00
Hongchao Deng
c0243ad4ee scheduler performance test suite: benchmarks and density tests 2015-12-18 09:39:33 -08:00
Phillip Wittrock
49e1baa313 Test runner harness for node e2e tests 2015-11-18 13:05:01 -08:00
Tim St. Clair
5cd5b80f9e Set up new "metrics" API group.
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
Mike Danese
9bdb860eeb add apigroup installer and tests 2015-10-31 11:42:38 -07:00
Chao Xu
cc4ec80ec7 in scripts, experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:19:13 -07:00
k8s-merge-robot
67768eb51c Merge pull request #14769 from lavalamp/parallel_tests
Auto commit by PR queue bot
2015-10-06 22:59:50 -07:00
Jeff Grafton
a163f02c1b Add option to save the verbose output from unit tests
Also enable this option in our Jenkins runs.
2015-10-05 18:17:57 -07:00
Daniel Smith
bd7e2e5d8e Add -p option to hack/test-go.sh 2015-09-30 16:25:11 -07:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Jeff Grafton
4ce49b6f45 Filter test output when running unit tests in verbose mode 2015-09-21 13:11:12 -07:00
Jeff Grafton
a345704c92 hack/test-go.sh: make kube::test::find_dirs actually work correctly
(Also sort the list of excluded directories.)
2015-09-15 23:32:23 -07:00
Jeff Grafton
beb476d96b Add script to run unit/integration tests on Jenkins 2015-09-15 13:42:59 -07:00
Jeff Lowdermilk
1f71ac8c17 remove unneccessary echo in hack/test-go.sh 2015-09-14 15:25:33 -07:00
Chao Xu
347ce513cc modifying hack/test* scripts 2015-09-11 17:29:37 -07:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Jeff Grafton
75294b7a38 Add option to save unit test results as JUnit XML for Shippable 2015-08-26 15:26:51 -07:00
Jeff Grafton
6f548cf5be Enable reporting test coverage to Coveralls from Shippable
However, enable coverage collection only on merges - not on pull
requests.
2015-08-20 15:34:20 -07:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Brendan Burns
1dc723b4cb Fix testing to skip the release directories. 2015-06-10 09:22:18 -07:00
Chao Xu
d52cef11a4 add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil 2015-06-03 09:50:41 -07:00
Kris
f4e2c738f6 Delete deprecated API versions
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Tim Hockin
f8d0060d6e Merge pull request #8388 from pmorie/third-party-tests
Run tests for third-party code
2015-05-28 14:58:26 -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
Daniel Smith
5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -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
Paul Morie
3b8e4d97a1 Run tests for third-party code 2015-05-16 16:52:23 -04:00
Prashanth Balasubramanian
4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -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
Quinton Hoole
c4fa78509d Merge pull request #7653 from ixdy/native-ginkgo-runner
Once again, use native Ginkgo test runner instead of cmd/e2e
2015-05-15 15:29:19 -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
nikhiljindal
0e9d7d1451 Fixing the number of times our unit tests are run 2015-05-13 09:56:13 -07: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
Alex Robinson
1bb76633da Make hack/test-go.sh friendlier to OS X bash by not using a -1 array index.
Without this, everytime I run test-go.sh I get the following error:
./hack/test-go.sh: line 215: apiVersions: bad array subscript
2015-04-30 14:56:02 -07:00