Fix flakyness in test_client_with_deserializer
since there is no guarantee the "expected" (considered invalid) revision will be consumed first, the outcome of this test was flaky. So use the client with 'stop_on_eof' instead of 'stop_after_objects'.
Migrated from D6644 (view on Phabricator)