ContainerImage.Pinniped/test/library
Ryan Richard d8c6894cbc All controller unit tests should not cancel context until test is over
All controller unit tests were accidentally using a timeout context
for the informers, instead of a cancel context which stays alive until
each test is completely finished. There is no reason to risk
unpredictable behavior of a timeout being reached during an individual
test, even though with the previous 3 second timeout it could only be
reached on a machine which is running orders of magnitude slower than
usual, since each test usually runs in about 100-300 ms. Unfortunately,
sometimes our CI workers might get that slow.

This sparked a review of other usages of timeout contexts in other
tests, and all of them were increased to a minimum value of 1 minute,
under the rule of thumb that our tests will be more reliable on slow
machines if they "pass fast and fail slow".
2021-03-04 17:26:01 -08:00
..
browsertest Clean up the browsertest package a bit. 2020-12-02 17:20:24 -06:00
access.go Fix bug which prevented watches from working through impersonator 2021-02-22 17:23:11 -08:00
assertions.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
cli.go Add a library.PinnipedCLIPath() test helper, with caching. 2020-12-15 12:34:49 -06:00
client.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
dumplogs.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
env.go Remove this proxy-related test code that we ended up not needing. 2021-03-04 17:19:59 -06:00
iotest.go Expose the MaskTokens function so other test code can use it. 2020-12-02 15:55:34 -06:00
iplookup_go1.14.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
iplookup.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
skip.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
spew.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00