In "Tokamachi" scenario check.sh script has 1 sec delay after writing uuid to the namedpipe, whereas reader script has 2 secs gap between reads, which makes the check to be a false negative in many cases. For example, if last read is at time X and we execute check.sh at time (X + delta), the next read (and write to reader_output) will be at time (X + 2), but check for the reader_output will be performed at time (X + delta + 1).
In "Tokamachi" scenario check.sh script has 1 sec delay after writing uuid to the namedpipe, whereas reader script has 2 secs gap between reads, which makes the check to be a false negative in many cases. For example, if last read is at time X and we execute check.sh at time (X + delta), the next read (and write to reader_output) will be at time (X + 2), but check for the reader_output will be performed at time (X + delta + 1).