Commit Graph

4 Commits

Author SHA1 Message Date
Kenichi Omichi
5628b6b50e Replace mapfile with kube::util::read-array
During the review of https://github.com/kubernetes/kubernetes/pull/78779
we've known mapfile doesn't work on macOS.
So we need to use alternative way instead and this is it.
2019-06-20 00:25:06 +00:00
Odin Ugedal
b0a1cba71a
Run verify-test-code on all e2e tests 2019-06-14 17:51:49 +02:00
Kenichi Omichi
63e0507fd9 Check e2e test code to use ExpectError()
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kenichi Omichi
496a18febc Add hack/verify-test-code.sh
This script checks coding style for test code.
It is useful to enforce developers to use framework methods for
keeping readable test code for example.
2019-05-22 14:15:25 +00:00