Kir Kolyshkin
4f80a1953d
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 >
2019-05-21 01:55:18 -07:00
..
2019-04-05 16:45:37 +02:00
2018-06-13 09:04:30 +02:00
2019-04-05 16:45:37 +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-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-04-11 12:10:17 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-05-20 14:12:42 +02:00
2018-12-24 13:25:53 +01:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-01-13 21:08:20 +01:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-07-11 22:18:45 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-05-16 14:46:41 -04:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-07-11 22:18:45 +02:00
2017-03-23 18:35:22 +01:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-12-24 13:25:53 +01:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-05-15 16:05:04 -07:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-17 15:24:23 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-05-21 01:55:18 -07:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2018-12-24 13:25:53 +01:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-04-05 16:45:37 +02:00
2019-01-03 22:49:00 +01:00
2019-01-04 13:27:46 +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
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