Kir Kolyshkin
6752cc9f2f
int-cli/TestSearchCmdOptions: fail earlier
...
Sometimes this test fails (allegedly due to problems with Docker Hub),
but it fails later than it should, for example:
> 01:20:34.845 assertion failed: expression is false: strings.Count(outSearchCmdStars, "[OK]") <= strings.Count(outSearchCmd, "[OK]"): The quantity of images with stars should be less than that of all images: <...>
This, with non-empty list of images following, means that the initial
`docker search busybox` command returned not enough results. So, add
a check that `docker search busybox` returns something.
While at it,
* raise the number of stars to 10;
* simplify check for number of lines (no need to count [OK]'s);
* improve error message.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
(cherry picked from commit 4f80a1953d66265d9a1cbf4e172b8fa58e3e403a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 8a369c735b2bf07da53275fe9fe61d429320f233
Component: engine
2019-05-21 12:50:36 +02:00
..
2019-04-17 23:10:05 +02:00
2018-06-13 09:04:30 +02:00
2019-04-17 23:10:05 +02:00
2018-05-23 17:50:54 +02:00
2018-04-16 10:48:58 +02:00
2018-02-05 16:51:57 -05:00
2018-04-16 10:48:58 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2018-04-11 12:10:17 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:09:35 +02:00
2018-05-15 16:05:04 -07:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:09:23 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2018-07-11 22:18:45 +02:00
2018-08-14 12:52:30 +03:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2018-06-13 09:04:30 +02:00
2019-04-17 23:10:05 +02:00
2018-07-11 22:18:45 +02:00
2017-03-23 18:35:22 +01:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:09:35 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2016-03-21 11:05:58 -04:00
2019-04-17 23:10:05 +02:00
2018-05-15 16:05:04 -07:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-18 18:06:44 +02:00
2019-04-18 00:26:43 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-05-21 12:50:36 +02:00
2018-08-14 10:45:39 +03:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2018-08-14 10:45:39 +03:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2018-06-13 09:04:30 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:09:35 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:10:05 +02:00
2019-04-17 23:09:35 +02:00
2019-04-17 23:09:35 +02:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2018-01-15 15:32:06 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2018-06-13 09:04:30 +02:00