You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…and use it in tests.
The tests don’t have to run the client in separate threads anymore,
which means that they are faster as you don’t have to sleep for a
second anymore (was used to make sure the client in the thread was
started).
The default timeout is from the tests in mysql-binlog-connector-java.
Don’t know how we can get rid of the duplicated code in TestHelper so
I’ll leave that as it is for now.
Another way (as we just discussed IRL) could be exposing @client.register_event_listener to the user, then the user could register an arbitrary number of handlers.
I think that the current behavior is that the last setup
on_*
would "win".For one it would make testing so much easier. See 56927d9#commitcomment-14448933 for some context.
The text was updated successfully, but these errors were encountered: