DescriptionRefactor password sync integration tests
Refactors the password sync integration tests so they no longer require
self-notifications or access to progress markers. This will allow them
to work in the future when we refactor the integration tests to no
longer depend on sync internals.
Introduces two new Await*() functions for passwords. One is used to
wait until all profiles have matching passwords state. The other waits
until a single profile matches the verifier. Together, these are enough
to replace most uses of AwaitQuiescence(),
AwaitCommitActivityCompletion(), and other await conditions that will
not be supported in the new style of integration tests.
Refactors some two client tests into multi (ie. three) client tests.
These are the tests that formerly relied on
AwaitCommitActivityCompletion() to ensure that certain changes were
committed to the server. Using three clients allows us to set up
a "canary" client that can be used to infer that items are committed
based on the fact that it has received them.
Removes a few redundant tests.
Note to sheriffs: The TwoClientPasswordTest.Delete test may be flaky.
I believe it was flaky before the refactor, and it may still be flaky
now. Please disable it and assign the bug to me if it causes problems.
BUG=97780, 95742
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269198
Patch Set 1 #Patch Set 2 : Remove logging #
Total comments: 12
Patch Set 3 : More review fixes #
Total comments: 2
Patch Set 4 : Rebase #Patch Set 5 : Remove disable tests #
Messages
Total messages: 14 (0 generated)
|