Blockchain-Benchmarking / silk

Send data over arbitrary topology
0 stars 0 forks source link

Wrong prefix #2

Closed gauthier-voron closed 1 year ago

gauthier-voron commented 1 year ago

On jobs with high RTT and printing a lot, every agent gets the same prefix Steps to reproduce:

Expected result: all lines printed with different prefixes Observed result: most of the lines are printed with the same prefix

gauthier-voron commented 1 year ago

Able to reproduce.

# shell 0
$ silk server --tcp=3200 --name=1

# shell 1
$ silk server --tcp=3201 --name=2

# shell 2
$ printf '#!/bin/bash\necho ok >&2\n' | silk run -L '(localhost:3200|localhost:3201)' -
1 :: ok
1 :: ok

This seems to be specific to stderr.

gauthier-voron commented 1 year ago

Fixed by 5fc31b110af5d79a49c3e68a8e4645734c034a1b