Merge branch 'stable-3.1' into stable-3.2 * stable-3.1: ReplicationTasksStorage: Remove synchronized from list* methods TasksStorage: Add unit tests for reset() and resetAll() TasksStorage: Add canStartDifferentUris unit test ReplicationIT: Use streams to simplify ReplicationIT: Use PushOne.ALL_REFS constant ReplicationTasksStorageTest: Add a test for start() ReplicationTasksStorage: Remove test-only list* methods Fix synopsis in replication start cmd documentation TaskStorage: Fix assertContainsExactly TaskStorage: Rename unit tests with 'persist' in their names Don't wait for pending events to process on startup ReplicateRefUpdate: Drop awkward constructor TasksStorage: Replace delete() with start()+finish() in tests ReplicationTasksStorage.Task: Add unit tests ReplicationTasksStorage: Add unit tests Change-Id: I3f9ec778fdfa2e8565e0a5fb0f85c67a0420e131