-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: Update WatchForSync to take a SyncSource (#1429)
- Update WatchForSync to take a SyncSource, instead of Sha1Func, sha1 Predicate, and SyncPathPredicatePair. These are replaced by SyncSource.Path() and SyncSource.Commit() which handle defaulting and using the spec value if an expectation was not explicitly set. - Update SyncSource expectation functions to be test helpers - Refactor TestComposition to update expecations and use WatchForAllSyncs instead of a custom watch wrapper. - Refactor a few tests that were using WatchForSync directly to pass in a SyncSource with expectations updated.
- Loading branch information
Showing
7 changed files
with
166 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.