On (01/28/18 19:39), Willem de Bruijn wrote: > > But the whole test program is rather simplistic, since it doesnt > > actually verify the value of the cookies (hopefully me pending : > It might be nice to at least increment the variable on each > successful send. The test is single threaded anyway. And > then we can test that the returned values are in the defined > range.
Yeah one thought that went through my head was that since I now pick the cookes as consecutive numbers (1..N) anyway, we could do a very simple-minded checksum on recv_completion notification to check that the sum of all the cookie values returned is actually N * (N+1)/2 - and flag errors/warnings if it is not.. this would be a test enhancement I could do later.. first let me try to avoid having all this complex timer-triggered code. --Sowmini