Justin SB
4aa2498203
Rationalize deserialiation code
...
Put it all through kopscodecs.Decode, so that we can rewrite the API
group more easily in a subsequent PR.
2018-12-21 13:59:50 -05: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
Justin Santa Barbara
666e290983
Merge pull request #5547 from justinsb/etcd_manager_tests
...
Add test for etcd-manager output
2018-09-22 08:29:30 -07:00
Justin Santa Barbara
7cf432fcba
Add test for etcd-manager output
...
We need to get this under test coverage so we can start changing it confidently!
2018-09-14 08:46:32 -04:00
Naresh Kumar Amrutham
97b258ca64
update build files
2018-08-17 13:12:03 -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
Justin Santa Barbara
a8a83f3ce9
Update gazelle
2017-12-14 01:31:28 -05: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
chrislovecnm
609e268a1d
gazelle updates with new bazel version
2017-11-05 17:41:53 -07: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
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -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