• Kirill Smelkov's avatar
    select: Another select-select test which reuses channels during iterations · 2fc6797c
    Kirill Smelkov authored
    Previous select-select test uses 2 channels and recreats them every
    iteration. However the bug we just saw in b51b8d5d (select: Run tests
    more thoroughly) is of parasitic nature - where misbehaviour depends on
    what state has been left there from previous select and whether the race
    to get to that state fast enough succeeded.
    
    So add a more secialized test which tries to trigger the parasitic
    effects that depend on previous state left by select on the channels.
    
    The test, similarly to b51b8d5d, currently fails.
    2fc6797c
golang_test.py 9.93 KB