Justin SB
1580d4c82b
Update tests to use k8s >= 1.14
...
Where tests are using a version of k8s that is now really deprecated,
replace it with k8s 1.14.0.
2019-09-14 13:58:50 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin Santa Barbara
9e765a75bf
Generate much smaller keys in integration tests
...
We expose the default key size, and temporarily set it to 512 (from
2048) during testing. This is much faster, and key generation was the
primary bottleneck.
2018-10-03 08:33:46 -07:00
Naresh Kumar Amrutham
504414dd1c
include tests
2018-08-17 13:04:28 -07:00
k8s-ci-robot
a57a6de4a8
Merge pull request #5139 from justinsb/fix_subnet_egress_indexing
...
Fix issue where we assumed that private zone were in order
2018-06-09 09:27:01 -07:00
k8s-ci-robot
1157789a63
Merge pull request #4723 from sroylance/testing-windows
...
hacks for tests on windows
2018-06-02 11:22:57 -07:00
Justin Santa Barbara
bc79f0a69b
tests: failing test when multiple egress
...
Also requires that the subnets be out of order, which is likely why we
didn't hit it in practice.
2018-05-10 13:28:05 -04:00
Justin Santa Barbara
afa0577749
Check tags in lifecycle tests
...
We want to make sure that everything owned is tagged as such, and that
some shared resources (in particular subnets) are tagged as such.
2018-03-25 15:55:44 -04:00
Justin Santa Barbara
e81e53b5b2
mockec2: allow elastic ip tagging
2018-03-25 00:01:41 -04:00
Justin Santa Barbara
0711df9de4
Improve logic around VPC detection
...
Issue #4265
2018-03-19 18:15:37 -04:00
Stephen Roylance
70815ebaf9
hacks for tests on windows
2018-03-19 16:34:36 -04:00
Justin Santa Barbara
6ff56e2f05
Fix shared network objects
...
RouteTables should be created (and owned) only for non-shared subnets.
2018-03-18 17:09:30 -04:00
Justin Santa Barbara
7af6f42e8b
Tests: create vpc-12345678 & nat-12345678
2018-03-15 20:11:54 -04:00
Justin Santa Barbara
c121e7f14e
Create lifecycle test against AWS mocks
...
We create a cluster, run kops update, then run kops update again. We
expect no changes on the second update.
2018-03-11 17:04:30 -04:00
Dennis Webb
5855787574
returns latest image if more than 1 found
2018-01-25 10:04:12 -06:00
Peter Rifel
358e2e222c
Create mock igw in integration tests
2017-12-07 16:38:06 -08:00
Arto Jantunen
53669b8217
Make ELB somewhat mockable
2017-11-28 11:48:57 +02:00
Justin Santa Barbara
19677523c0
Mock kops version in tests
...
This avoids having to update the tests every time our version changes.
2017-10-10 11:11:57 -04:00
Justin Santa Barbara
055f510c6f
Create minimal mock GCECloud, first test
...
We test create cluster - we actually have an issue with the length of
the names on longer cluster names; first step is to get test coverage.
2017-09-16 11:02:30 -04:00
Justin Santa Barbara
4767ee9e31
Read the channel from the local filesystem during tests
...
Another step towards working totally offline (which may never be fully
achievable, because of the need to hash assets). But should ensure that
when we update the stable channel, we are testing against that version
in the tests, otherwise it is easy to break master.
2017-08-09 21:26:21 -04:00
Justin Santa Barbara
1965a4be49
Updates to fix unit tests
2017-07-08 18:46:01 -04:00