moby/testutil
Brian Goff fbdc02534a De-flake TestSwarmClusterRotateUnlockKey... again... maybe?
This hopefully makes the test less flakey (or removes any flake that
would be caused by the test itself).

1. Adds tail of cluster daemon logs when there is a test failure so we
   can more easily see what may be happening
2. Scans the daemon logs to check if the key is rotated before
   restarting the daemon. This is a little hacky but a little better
   than assuming it is done after a hard-coded 3 seconds.
3. Cleans up the `node ls` check such that it uses a poll function

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2024-01-04 00:18:58 +00:00
..
daemon De-flake TestSwarmClusterRotateUnlockKey... again... maybe? 2024-01-04 00:18:58 +00:00
environment hack: Load special images on demand 2023-12-06 17:16:37 +01:00
fakecontext testutil: format code with gofumpt 2023-06-29 00:05:27 +02:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage api/types: move ContainerStartOptions to api/types/container 2023-10-12 11:29:24 +02:00
fixtures Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
registry test: update registry version to latest 2023-08-24 12:08:32 +02:00
request Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-15 15:24:15 +01:00
stringutils.go gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
stringutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00