Re: [PATCH] test: Fix race condition in T568-lib-thread.sh

2021-02-15 Thread Tomi Ollila
On Sun, Feb 14 2021, David Bremner wrote: > The assignment of thread-ids is (apparently) non-deterministic in a > way that mostly seems to show up on multicore machines. In my tests > the number is different from that previously assumed by this test > about 15% of the time on a 50 thread (25 core)

[PATCH] test: Fix race condition in T568-lib-thread.sh

2021-02-14 Thread David Bremner
The assignment of thread-ids is (apparently) non-deterministic in a way that mostly seems to show up on multicore machines. In my tests the number is different from that previously assumed by this test about 15% of the time on a 50 thread (25 core) Xeon. Since message id's are fixed, use a message