Commit Graph

25 Commits

Author SHA1 Message Date
Jefftree
ace97738e2 Update formatting of conformance comment 2020-07-29 20:50:44 -07:00
Kubernetes Prow Robot
fc9d174102
Merge pull request #88248 from claudiubelu/tests/reduce-to-agnhost-mounttest
tests: Replaces mounttest images used with agnhost (part 4)
2020-04-22 04:53:52 -07:00
Kenichi Omichi
5f81f5b96c Move GetFileModeRegex to e2e/common
because the function is used at e2e/common tests only.
2020-03-23 23:23:54 +00:00
tanjunchen
97db7f4b99 move GetPodSecretUpdateTimeout from framework/utils to framework/pod 2020-03-11 15:48:15 +08:00
Mike Danese
c58e69ec79 automated refactor 2020-03-05 14:59:46 -08:00
Claudiu Belu
1b71b2a9a2 tests: Replaces mounttest images used with agnhost (part 4)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- mounttest
- mounttest-user

Additionally, removes the usage of the mounttest-user image and removes
it from kubernetes/test/images. RunAsUser is set instead of having that image.
2020-02-29 15:05:57 -08:00
Kubernetes Prow Robot
f8f6229d77
Merge pull request #87950 from tanjunchen/fix-no-non-ascii-characters-/test
test/ : fix non-ascii characters
2020-02-10 17:22:15 -08:00
tanjunchen
e96b037be3 test/ : fix non-ascii characters 2020-02-09 01:40:44 +08:00
Mike Danese
25651408ae generated: run refactor 2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Claudiu Belu
f0e6d8ed09 tests: Fixes tests for Windows (containerd, RunAsUserName)
Since we've added support for RunAsUserName, we can now run some new
tests. However, the [LinuxOnly] tag will have to remain until the
WindowsRunAsUserName feature becomes enabled by default.

Additionally, Containerd supports file mounting on Windows, and some
tests will be able to pass on Windows with Containerd instead of Docker.
2019-11-06 19:14:21 -08:00
YuikoTakada
9ed2f632cc use log functions of core framework 2019-09-26 02:45:07 +00:00
SataQiu
332be4b1e3 refactor: replace framework.Failf with e2elog.Failf 2019-06-19 17:52:35 +08:00
Jorge Alarcon Ochoa
4969a05327 Refactored pod-related functions from framework/util.go
This a refactoring of framework/utils.go into framework/pod.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
s-ito-ts
3492c81e12 Use framework.ExpectError() for e2e/common 2019-05-29 05:46:16 +00:00
toyoda
028cd65db9 fix golint failure in e2e/common/[p-r]* 2019-05-27 08:57:02 +09:00
Kenichi Omichi
b17384acbe Use framework.ExpectNoError() on e2e/common 2019-05-17 17:30:38 +00:00
Vu Cong Tuan
c747b7f38d Fix many typos in both code and comments
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 14:41:02 +07:00
Claudiu Belu
5daa08878f Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
Some of the tests cannot pass using Windows nodes due to various reasons:

- seLinuxOptions are not supported on Windows.
- Running as an UID / GID is not supported on Windows.
- file permissions work differently on Windows, and they cannot be set in
  the same manner as on Linux.
- individual files cannot be mounted in Windows Containers.
- Cannot create container using Linux image (e.g.: alpine) on Windows.

Because of this, it has been decided to use the "[LinuxOnly]" tag for the
tests which cannot run on Windows because of the mentioned reasons. This way,
when running tests using Windows nodes, those tests can simply be skipped by
adding the "[LinuxOnly]" tag to the ginkgo.skip argument.
2019-02-01 11:42:42 -08:00
k8s-ci-robot
409a5ecae2
Merge pull request #71036 from bclau/test-windows-permissions
tests: Checks for Windows permissions as well
2018-11-29 11:16:49 -08:00
Claudiu Belu
0df9c0adf6 tests: Checks for Windows permissions as well
Some mounttest related tests are checking the file permissions set on the
container files, but the default file permissions on Windows is 775 instead of
644, causing some tests to fail.

Keep in mind that file permissions work differently on Windows, and setting file
permissions via Kubernetes is not currently supported on Windows.
2018-11-21 23:02:48 -08:00
pontiyaraja
6b9db24ed0 added non-optional and empty key test cases for secret and configMap 2018-11-13 13:08:02 +05:30
Michelle Au
253e8d5b74 Update test suite names 2018-10-09 14:25:30 -07:00
Michelle Au
cb7cb9aa8e Keep related test cases and delete the rest 2018-10-09 14:25:29 -07:00
Michelle Au
f82ff5b16d Break up projected.go into projected_combined/configmap/secret/downwardapi 2018-10-09 14:25:29 -07:00