ContainerImage.Pinniped/test/library
Andrew Keesler 8a916ce8ae
test/integration: add test helper to avoid race conditions
We were seeing a race in this test code since the require.NoError() and
require.Eventually() would write to the same testing.T state on separate
goroutines. Hopefully this helper function should cover the cases when we want
to require.NoError() inside a require.Eventually() without causing a race.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Co-authored-by: Margo Crawford <margaretc@vmware.com>
Co-authored-by: Monis Khan <i@monis.app>
2021-01-14 10:19:35 -05:00
..
browsertest Clean up the browsertest package a bit. 2020-12-02 17:20:24 -06:00
access.go test/integration: protect from NPE and follow doc conventions 2020-11-02 11:51:02 -05:00
assertions.go test/integration: add test helper to avoid race conditions 2021-01-14 10:19:35 -05:00
cli.go Add a library.PinnipedCLIPath() test helper, with caching. 2020-12-15 12:34:49 -06:00
client.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
dumplogs.go Dump out proxy access logs in TestSupervisorLogin. 2020-12-03 11:28:48 -06:00
env.go Wire in new env vars for user info testing 2021-01-12 11:23:25 -05: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