Skip to content
  • Manuel Stoeckl's avatar
    tests: Fix race condition in send overflow test · e449232f
    Manuel Stoeckl authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    This change ensures that the compositor process is not able to respond
    to any of the noop requests sent by the client process, by using the
    test compositor's `stop_display` mechanism to coordinate when the
    compositor should stop processing messages.
    
    (Before this change, it was possible that one of the calls of
    wl_event_loop_dispatch in the compositor process could respond to all
    the client's noop requests before returning.)
    
    Signed-off-by: default avatarManuel Stoeckl <code@mstoeckl.com>
    e449232f