Skip to content
  • John Hawthorn's avatar
    8b0ff4f8
    Call prerecord in test parallelization · 8b0ff4f8
    John Hawthorn authored
    
    
    This deviates from the vanilla minitest behaviour, which calls prerecord
    before tests are run even for parallel executors, which can result in
    interleaved output.
    
    Instead this calls prerecord after the test has come back and
    immediately before calling record while holding a mutex, to ensure the
    correct time is associated with the correct test.
    
    Co-authored-by: default avatarabeidahmed <abeidahmed92@gmail.com>
    8b0ff4f8
    Call prerecord in test parallelization
    John Hawthorn authored
    
    
    This deviates from the vanilla minitest behaviour, which calls prerecord
    before tests are run even for parallel executors, which can result in
    interleaved output.
    
    Instead this calls prerecord after the test has come back and
    immediately before calling record while holding a mutex, to ensure the
    correct time is associated with the correct test.
    
    Co-authored-by: default avatarabeidahmed <abeidahmed92@gmail.com>
Loading