Ciprian Hacman
5d87704ed3
Skip arch dependent kubectl test for non AMD64 nodes
2020-07-13 20:25:14 +03:00
Ciprian Hacman
33ac3c36cc
Add new flags for node arch
2020-07-13 20:25:14 +03:00
Aaron Crickenberger
28768166f5
decouple testfiles from framework
...
This drops testfiles.ReadOrDie and updated testfiles.Exists to return an
error, forcing the caller to decide whether to call framework.Fail or do
something else.
It makes for a slightly less friendly API, but also means the package is
decoupled from framework again, as per the comments at the top of the
file
2020-06-29 14:54:09 -07:00
Benjamin Elder
f2b2d44614
s/master/primary in agnhost guestbook usage
2020-06-24 12:14:33 -07:00
Benjamin Elder
279ce5d89e
s/master/primary in agnhost guestbook test references & agnhost code
...
to do in follow-up: update the agnhost deployments and references to those when the new image is pushed
2020-06-19 12:23:16 -07:00
Benjamin Elder
d65a3b15bf
update agnhost guestbook usage for s/slave/replica/
2020-06-15 20:08:27 -07:00
Benjamin Elder
3298dfa73a
up sleep time in racy test
2020-06-10 17:23:27 -07:00
Kubernetes Prow Robot
d32875543b
Merge pull request #91227 from aojea/kcliwait
...
kubectl run test: the pod wait (some time) until attach before printing
2020-05-20 19:41:20 -07:00
Kubernetes Prow Robot
62a4cb930b
Merge pull request #90367 from julianvmodesto/conformance-diff-dry-run
...
Promote diff and dry-run to conformance
2020-05-20 16:44:19 -07:00
Antonio Ojea
a0f0e58373
kubectl run test wait until pod terminates
...
the test "executing a command with run and attach without stdin"
is inherently flaky, there are several discussion but seems that
it requires changing the way the kubectl run and attach works.
The test fails if we are not able to attach before the container prints
"stdin closed", but hasn't exited yet.
Because the race seems difficult to solve, we can wait 5 seconds
before printing to give time to kubectl to attach to the container.
2020-05-19 13:09:32 +02:00
Julian V. Modesto
7af0011884
Promote diff and dry-run to conformance
2020-05-13 13:04:41 -04:00
Sascha Grunert
c7648f5984
Deflake port-forward e2e test
...
We should read and verify the data before actually closing the
connection to avoid connection based-races within the test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-13 08:53:31 +02:00
Maciej Szulik
6f1484256d
waitForPod should use different exitCondition depending on restart policy
2020-04-24 16:30:46 +02:00
Yuiko Mori
9c87deb487
Move WaitForService() into e2eservice
2020-04-17 00:11:13 +00:00
Kubernetes Prow Robot
51d41dfdb1
Merge pull request #89542 from julianvmodesto/diff-dry-run-conformance
...
Add kubectl diff and server-side dry-run to e2e tests
2020-04-15 19:50:45 -07:00
tanjunchen
6532b40f21
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-08 09:59:44 +08:00
Julian V. Modesto
f448c01651
Add kubectl diff + server-side dry-run to e2e
2020-04-02 20:54:53 -04:00
Jordan Liggitt
93c7b24562
github.com/googleapis/gnostic v0.4.1
2020-03-31 23:07:50 -04:00
Kubernetes Prow Robot
4e9dd8fd36
Merge pull request #89454 from gavinfish/import-aliases
...
Update .import-aliases for e2e test framework
2020-03-27 14:35:54 -07:00
Jie Shen
68a4b7d621
Move assertCleanup() to e2e kubectl ( #89452 )
...
* Move assertCleanup() to e2e kubectl
* Update test/e2e/kubectl/kubectl.go
Co-Authored-By: SataQiu <1527062125@qq.com>
Co-authored-by: SataQiu <1527062125@qq.com>
2020-03-25 11:20:06 -07:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
tanjunchen
aa9d06d79b
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 22:54:35 +08:00
tanjunchen
bed22fbb44
WaitForPodReady is simply wrapper functions for e2epod package,
...
and they made an invalid dependency to sub e2e framework from the core framework.
So we can use e2epod.WaitTimeoutForPodReadyInNamespace to remove invalid dependency.
The main purpose of this pr is to handle the framework core package dependency subpackage pod.
2020-03-22 23:08:52 +08:00
Jordan Liggitt
a35ca04dd6
Remove kubectl column output test
2020-03-11 22:59:51 -04:00
Jordan Liggitt
b7c2faf26c
client-go dynamic client: add context to callers
2020-03-06 10:56:23 -05:00
Jordan Liggitt
b19dc3a474
client-go dynamic client: update DeleteOptions callers
2020-03-06 10:21:23 -05:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Julian V. Modesto
932500c015
Remove deprecated rolling-update command
2020-02-13 23:52:53 -05:00
Kubernetes Prow Robot
460fdc7f48
Merge pull request #87057 from oomichi/add-debugging-msg-issue86678
...
Add logs of port-forward-tester pod
2020-02-12 05:22:51 -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
Kubernetes Prow Robot
60dd5dbd8b
Merge pull request #87597 from mikedanese/rctx
...
Refactor context handling in rest.Request
2020-01-29 22:11:03 -08:00
Mike Danese
968adfa993
cleanup req.Context() and ResponseWrapper
2020-01-29 08:50:45 -08:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
Maciej Szulik
82f97775b7
Remove kubectl run generators
2020-01-22 16:44:00 +01:00
toyoda
0c12ae5240
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:56:05 +09:00
tanjunchen
3d34a814d6
test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package
2020-01-11 14:32:19 +08:00
Kenichi Omichi
beb252df16
Add logs of port-forward-tester pod
...
This adds logs of port-forward-tester pod for investigating a flake
test.
2020-01-10 03:44:02 +00:00
Kenichi Omichi
99b135442c
Add error handling of CloseWrite()
...
The e2e test "Kubectl Port forwarding With a server listening .."
is failed sometimes due to the difference between expected data and
received data. To receive the data, the test does CloseWrite() but
it didn't have the corresponding error handling.
This adds it to investigate the issue more.
2020-01-10 03:14:39 +00:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
danielqsj
fc738cbb1d
unify alias of api errors under test
2019-12-26 16:40:45 +08:00
Kubernetes Prow Robot
7fdefe5002
Merge pull request #84735 from liggitt/wardle-example-e2e
...
wardle example e2e
2019-12-17 12:00:28 -08:00
Jordan Liggitt
8111bb3d77
Update wardle e2e image
2019-12-16 11:06:11 -05:00
tanjunchen
f786cb07b7
test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse())
2019-12-13 10:11:47 +08:00
Kubernetes Prow Robot
688149a0c6
Merge pull request #84613 from MorrisLaw/breakout-kubectl-from-utils
...
move KubectlCmd out of utils into its own package
2019-12-06 15:51:53 -08:00
Jordan Liggitt
bacab3d457
Deflake kubectl custom printing test
2019-12-05 15:44:25 -05:00
MorrisLaw
b85adbf1fd
moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils
2019-12-04 20:31:57 +00:00
MorrisLaw
cd8da67b03
move KubectlCmd out of utils into its own package
2019-12-04 20:30:43 +00:00