Sebastiaan van Stijn
585c147b7a
fix flaky TestRunContainerWithRmFlag tests
...
This attempts to fix CI flakiness on the TestRunContainerWithRmFlagCannotStartContainer
and TestRunContainerWithRmFlagExitCodeNotEqualToZero tests.
These tests;
- get a list of all container ID's
- run a container with `--rm`
- wait for it to exit
- checks that the list of all container IDs is empty
The last step assumes that no other tests are running on the same daemon; if
another test is running, there may be other containers present (unrelated to
the test).
This patch updates the tests to use a `docker inspect` to verify the container
no longer exists afterwards.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-06-02 16:55:44 +02:00
..
2020-02-11 00:06:42 +01:00
2021-03-18 19:26:17 +00:00
2022-02-15 12:50:21 +01:00
2019-09-11 07:47:23 -05:00
2022-05-19 10:54:31 +02:00
2019-10-09 21:44:22 +02:00
2018-04-16 10:48:58 +02:00
2021-08-27 14:56:57 +08:00
2022-04-21 12:15:20 +02:00
2019-09-09 21:06:12 +00:00
2022-05-12 11:36:31 +02:00
2021-08-27 14:56:57 +08:00
2021-08-24 23:33:27 +02:00
2022-04-20 21:29:34 +02:00
2021-08-24 23:33:27 +02:00
2022-02-18 22:58:28 +01:00
2020-02-11 00:06:42 +01:00
2022-04-11 21:37:51 +02:00
2022-02-18 22:58:28 +01:00
2020-02-11 00:06:42 +01:00
2021-08-27 14:56:57 +08:00
2020-02-11 00:06:42 +01:00
2021-08-17 07:09:40 -07:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2022-04-21 17:33:07 -04:00
2021-08-27 14:56:57 +08:00
2020-02-27 21:37:26 -05:00
2021-08-27 14:56:57 +08:00
2022-05-09 19:45:40 +08:00
2021-08-27 14:56:57 +08:00
2022-03-04 14:49:42 +01:00
2021-08-17 07:09:40 -07:00
2020-02-11 00:06:42 +01:00
2021-08-27 14:56:57 +08:00
2020-02-11 00:06:42 +01:00
2021-08-24 23:33:27 +02:00
2021-08-27 14:56:57 +08:00
2022-02-18 22:58:37 +01:00
2021-08-24 23:33:27 +02:00
2022-05-24 17:28:14 +02:00
2022-05-09 19:45:40 +08:00
2022-01-06 18:28:13 +01:00
2020-02-27 21:37:26 -05:00
2021-08-24 23:33:27 +02:00
2022-04-21 19:50:59 +02:00
2020-02-11 00:06:42 +01:00
2020-02-11 00:06:42 +01:00
2022-03-18 09:44:53 +01:00
2022-01-24 17:00:57 +01:00
2020-02-11 00:06:42 +01:00
2021-08-24 23:33:27 +02:00
2020-02-11 00:06:42 +01:00
2020-02-11 00:06:42 +01:00
2020-02-11 00:06:42 +01:00
2022-04-23 17:44:16 +08:00
2019-09-09 21:06:12 +00:00
2020-02-27 21:37:26 -05:00
2020-02-11 00:06:42 +01:00
2019-09-09 21:09:57 +00:00
2021-11-19 09:27:12 +01:00
2020-02-11 00:06:42 +01:00
2021-08-27 14:56:57 +08:00
2021-03-25 00:19:35 +01:00
2020-02-11 00:06:42 +01:00
2021-08-27 14:56:57 +08:00
2022-03-27 13:26:47 +11:00
2022-04-23 17:44:16 +08:00
2022-03-04 14:49:42 +01:00
2021-11-18 12:26:13 +01:00
2021-08-27 14:56:57 +08:00
2022-05-19 21:19:10 +02:00
2020-02-11 00:06:42 +01:00
2022-06-02 16:55:44 +02:00
2022-05-09 19:45:40 +08:00
2022-03-04 14:49:42 +01:00
2021-08-27 14:56:57 +08:00
2022-03-18 09:44:53 +01:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-27 14:56:57 +08:00
2022-05-19 21:19:10 +02:00
2020-02-27 21:37:26 -05:00
2022-04-21 17:33:07 -04:00
2021-08-24 23:33:27 +02:00
2020-02-11 00:06:42 +01:00
2021-08-24 23:33:27 +02:00
2021-08-27 14:56:57 +08:00
2021-08-27 14:56:57 +08:00
2022-03-18 09:44:53 +01:00
2020-07-01 13:29:07 +02:00
2021-08-24 23:33:27 +02:00
2020-02-11 00:06:42 +01:00
2022-02-15 12:50:21 +01:00
2020-02-11 00:06:42 +01:00
2021-08-27 14:56:57 +08:00
2022-02-18 22:58:37 +01:00
2022-05-12 14:48:35 -07:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2020-02-11 00:06:42 +01:00