• Mikel Astiz's avatar
    Fix loopback server sending unrequested progress markers · e7c6b230
    Mikel Astiz authored
    Most if not all sync integration tests output this red-herring and
    annoying trace:
    "Skipping unexpected progress marker for non-enabled type <type>".
    
    The reason is that, prior to this patch, the loopback server returned
    progress markers for all datatypes that the server knows about (i.e. at
    least one entity exists).
    
    Instead, let's mimic the real server and return progress markers for
    types that have been requested by the client.
    
    Bug: None
    Change-Id: I7354c0f38afbd71cf06ab3e7e7c4113f44db6ee2
    Reviewed-on: https://chromium-review.googlesource.com/c/1296545
    Commit-Queue: Mikel Astiz <mastiz@chromium.org>
    Reviewed-by: default avatarMarc Treib <treib@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602295}
    e7c6b230
loopback_server.cc 24.5 KB