https://bugs.winehq.org/show_bug.cgi?id=54517
--- Comment #3 from Eric Pouech eric.pouech@gmail.com --- __wine_clipboard_manager is likely forwarding the clipboard management to the X11 clipboard, where all your desktop apps might come into play (and keep the clipboard open for quite some time or not squashing several update events into one)
some ways forward: - could you bump the number of retries and wait time in send_paste to see if it improves the situation? - do could also isolate the tests from your desktop (using xvfb or xnest or ...)?