You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/03/12 01:52:00 UTC

[jira] [Created] (KAFKA-12459) Improve raft simulation tests

Jason Gustafson created KAFKA-12459:
---------------------------------------

             Summary: Improve raft simulation tests
                 Key: KAFKA-12459
                 URL: https://issues.apache.org/jira/browse/KAFKA-12459
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Jason Gustafson


A couple small suggestions to improve the event simulation tests (courtesy of [~enether]):

1. When a test fails, ensure that the random number seed is displayed in the output so that it can be reproduced.
2. Once we have done the first one, then using non-deterministic seeds would be a good idea since we can get a bigger benefit out of repeated builds.
3. It is a bit painful today to reproduce failures since each test case runs multiple random seeds. It would be helpful to have a convenient way to run a test with a specific seed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)