]> git.kaiwu.me - haproxy.git/commit
MINOR: ncbuf/test: define seed for random insert test
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 Nov 2026 13:43:06 +0000 (14:43 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 Nov 2026 14:08:36 +0000 (15:08 +0100)
commit4dd6df8292be4de0a679b38f6090446203ebb1ef
treebc53c657b60c920f55fdcabf132072bebbca0b76
parent9d327e5d43a9b573f3d682a388ee53dff189de41
MINOR: ncbuf/test: define seed for random insert test

Previously, random seed was not set so random insert test would always
use the same offsets. Change this to use the machine timestamp to
generate different runs each time.

The seed is displayed during the test. It can also be forced via command
line argument '-j' to be able to replay a specific run.
src/ncbuf.c