Commit Graph

14184 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a44cb287dd Merge pull request #79769 from clarklee92/use-ExpectEqual-common
Use ExpectEqual in e2e/common
2019-07-05 19:01:00 -07:00
Kubernetes Prow Robot
2054590481 Merge pull request #79695 from tanshanshan/e2e-apps
Use ExpectEqual under apps
2019-07-05 19:00:48 -07:00
Kubernetes Prow Robot
0304cda3e3 Merge pull request #79821 from frankjiao/ExpectEqual
Use framework.ExpectEqual() for e2e/cloud tests
2019-07-05 16:48:58 -07:00
Kubernetes Prow Robot
f1d0793621 Merge pull request #79762 from clarklee92/use-ExpectEqual-auth
Use ExpectEqual in e2e/auth
2019-07-05 16:48:46 -07:00
Kubernetes Prow Robot
4921e84841 Merge pull request #79699 from k-toyoda-pi/expectequal_e2e_kubectl
Use ExpectEqual in e2e/kubectl
2019-07-05 16:48:34 -07:00
Kubernetes Prow Robot
9e2fc16115 Merge pull request #79792 from SataQiu/fix-test-2019070402
e2e: use framework.ExpectEqual() for test/e2e/node
2019-07-05 14:15:00 -07:00
Kubernetes Prow Robot
b8fa7c4bb7 Merge pull request #79791 from SataQiu/fix-test-20190704
e2e: use framework.ExpectEqual() for test/e2e/network
2019-07-05 14:14:48 -07:00
Kubernetes Prow Robot
d97f08f0b3 Merge pull request #79781 from s-ito-ts/79686_scheduling
Use framework.ExpectEqual() under e2e/scheduling
2019-07-05 14:14:36 -07:00
Kubernetes Prow Robot
1addcf4715 Merge pull request #79755 from draveness/feature/use-framework-expect-equal-in-storage
feat: use framework.ExpectEqual in storage e2e test
2019-07-05 12:02:49 -07:00
Kubernetes Prow Robot
5865a7e3cf Merge pull request #79754 from draveness/feature/use-framework-expect-equal-instead
feat: use framework.ExpectEqual in servicecatalog e2e test
2019-07-05 12:02:37 -07:00
zhanghui31
afee64477a Use ExpectEqual in e2e/scalability 2019-07-05 22:02:08 +08:00
Kubernetes Prow Robot
915be28b61 Merge pull request #79733 from yastij/consolidate-etcd-version
consolidate etcd version per file
2019-07-05 05:06:36 -07:00
Frank Jiao
049b652c35 Use framework.ExpectEqual() for e2e/cloud tests 2019-07-05 14:15:54 +08:00
SataQiu
5234f2e668 e2e: use framework.ExpectEqual() for test/e2e/network 2019-07-05 11:05:09 +08:00
Tomas Smetana
d4f43e8e19 e2e: Skip multi-node PV test when pods scheduled on the same node 2019-07-04 17:15:43 +02:00
Patrick Ohly
1822895ce2 update Bazel 2019-07-04 17:15:14 +02:00
Patrick Ohly
b86a007057 e2e: avoid mandatory command line flags
Tests should never directly add to the global command line, because
some users of the tests might not want them there. For example,
options might only get set directly from a config file.

To achieve that, e2e/framework/config, e2e/framework/viperconfig, and
e2e/framework/test_context.go avoid using the global flag set and
instead expect to be told by the caller which flag set to use. Tests
that called flag directly either get updated or obsolete flags get
removed.

The exception is framework.HandleFlags, which as before directly
implements global command line handling.

This is a breaking change for test suites which do not use that
function (and only those): they now need to ensure that they copy
individual flags from tests. Because the RegisterCommonFlags prototype
has changed, test suite authors will notice due to the resulting
compilation errors.
2019-07-04 17:15:14 +02:00
draveness
4c2e77a53e feat: use framework.ExpectEqual in storage e2e test 2019-07-04 22:24:29 +08:00
Patrick Ohly
3630cfca2b e2e: fix full path support when reading viper config file
Something changed in Viper such that it now returns the
ConfigFileNotFound error when the config file is not found, for
example when it is specified including the .yaml or .json suffix.
When the code was originally was written, it returned "Unsupported
Config Type".

Found when adding a unit test for this code (separate commit because
it depends on the flag changes).
2019-07-04 15:56:00 +02:00
SataQiu
03e4527a87 e2e: use framework.ExpectEqual() for test/e2e/node 2019-07-04 20:21:04 +08:00
Krzysztof Siedlecki
1e7a4d1cd5 Closing stopCh when pod_store is not created
If there is an error and pod store is not created, reflector should be stopped.
2019-07-04 13:41:14 +02:00
s-ito-ts
e7752f72e4 Use framework.ExpectEqual() under e2e/scheduling 2019-07-04 08:51:24 +00:00
ClarkLee
867c88471f Use ExpectEqual in e2e/common 2019-07-04 13:50:19 +08:00
ClarkLee
b94b1672f9 Use ExpectEqual in e2e/auth 2019-07-04 11:41:20 +08:00
draveness
ff09cc5405 feat: use framework.ExpectEqual in upgrades and windows e2e test 2019-07-04 09:38:38 +08:00
draveness
36167cffd6 feat: use framework.ExpectEqual in servicecatalog e2e test 2019-07-04 09:07:27 +08:00
tanshanshan
2c130b236c Use ExpectEqual under apps 2019-07-04 08:43:42 +08:00
Kubernetes Prow Robot
3c675ade25 Merge pull request #79731 from rajansandeep/ptrtest
Edit google DNS hostname
2019-07-03 13:53:05 -07:00
Kubernetes Prow Robot
a7cde2e70f Merge pull request #78540 from immutableT/kms-plugin-healthz-check
Add healthz check for KMS Providers on kube-apiserver.
2019-07-03 13:52:13 -07:00
Kubernetes Prow Robot
8765ed365f Merge pull request #79636 from liggitt/crd-preserve-unknown-openapi
Fix publishing x-kubernetes-preserve-unknown-fields working with kubectl
2019-07-03 12:29:52 -07:00
Kubernetes Prow Robot
024c7bd84f Merge pull request #77819 from smarterclayton/client
Add a metadata client to client-go that can read PartialObjectMetadata
2019-07-03 10:34:32 -07:00
immutablet
05fdbb201f Allow kube-apiserver to test the status of kms-plugin. 2019-07-03 10:03:32 -07:00
Yassine TIJANI
1efc45b790 consolidate etcd version
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-03 18:27:37 +02:00
Jordan Liggitt
990c656adb Test kubectl with x-kubernetes-preserve-unknown-fields 2019-07-03 12:18:05 -04:00
Kubernetes Prow Robot
3c38115a32 Merge pull request #79045 from odinuge/file-perms
Fix file permissions for non executable files
2019-07-03 09:12:45 -07:00
Sandeep Rajan
9e683fab30 edit google dns hostname 2019-07-03 10:40:16 -04:00
Dave Chen
c60181317e Address couple of issue on image build for ARM arch
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Anish Ramasekar
789920955a add e2e for dualstack
add test for network connectivity check

update tests

complete tests

Review feedback

run update-bazel

feature flag connectivity test

remove dead code

add todo
2019-07-02 22:47:03 -07:00
toyoda
5a5886035b Use ExpectEqual in e2e/kubectl 2019-07-03 13:55:19 +09:00
Kenichi Omichi
66b1dc230e Use ExpectEqual under e2e/apimachinery
Since https://github.com/kubernetes/kubernetes/pull/78922 ExpectEqual()
is implemented as test framework. This makes e2e tests use the function
under test/e2e/apimachinery.
2019-07-03 02:49:35 +00:00
Kubernetes Prow Robot
a33840e023 Merge pull request #73977 from khenidak/ipv6dualstack
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Kubernetes Prow Robot
57416ef5ec Merge pull request #78177 from MaysaMacedo/add-more-e2e-np-tests
Increase Network Policy tests coverage
2019-07-02 14:27:12 -07:00
Clayton Coleman
21f5e643d9 Add a metadata client to client-go that can read PartialObjectMetadata
This client exposes operations on generic metadata (get, list, watch, delete)
and allows patch operations. The client always uses protobuf and requests
the server transform the response into the appropriate object. Using this
client simplifies the work of generic controllers by allowing them to treat
all objects the same, and also improves performance both in the amount of
data sent as well as allowing protobuf on CRD resources.
2019-07-02 16:42:41 -04:00
Khaled Henidak(Kal)
584d7103e2 node ipam controller for ipv6 dualstack 2019-07-02 15:39:06 +00:00
Jan Safranek
2a08bd64af Add public functions to define CSI external tests
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
b959e9a25a Merge pull request #79322 from s-ito-ts/e2e_ephemeral_storage
e2e test: change from milli bytes to bytes in ephemeral-storage resource limits
2019-07-02 00:57:08 -07:00
Kubernetes Prow Robot
6d8dd21111 Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
Kubernetes Prow Robot
6f73ab2219 Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48 Merge pull request #71170 from atlassian/rand-cleanup2
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
f7f1b2d5f7 Merge pull request #72168 from brahmaroutu/conformance_hdr
Allow version field in the title to be changeable
2019-07-01 19:09:08 -07:00