Wei Fu 939a440d6b pkg/ioutil: deflake TestPageWriterRandom
The PageWriter has cache buffer so that it doesn't call the Writer until
the cache is almost full. Since the data's length is random, the pending
bytes should be always less than cache buffer size, instead of page
size.

Fix: #16255

Signed-off-by: Wei Fu <fuweid89@gmail.com>
(cherry picked from commit fddd1add52b33649a99d7f756404924138344a10)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-08 23:56:13 +08:00
..
2023-02-20 12:44:14 +13:00
2018-07-21 15:49:58 -07:00
2015-11-17 20:54:10 -08:00
2019-07-24 14:09:50 -07:00
2022-12-19 18:34:04 +08:00
2018-02-28 17:27:40 -08:00
2022-12-19 18:34:04 +08:00
2016-05-12 20:48:53 -07:00
2019-05-28 15:39:35 -07:00
2018-04-30 15:32:16 -07:00
2022-12-19 18:34:04 +08:00
2019-05-28 15:39:35 -07:00
2023-03-16 21:46:17 +13:00
2023-03-16 21:46:17 +13:00
2014-10-26 16:28:48 -07:00

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.