-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`NormalizeFlowCountQuery` is stunting decoupled sync/normalize workflows So replace it with `WaitFor` Besides, I just don't like this `ExitAfterRecords` way of doing things e2e tests are integration tests: implementation should be treated as a black box as much as possible Temporal has a bunch of capabilities to mock activities so that we can create unit tests for the more intrusive tests that'd be necessary to raise branch coverage etc `WaitFor` presents the ideal mechanism for testing convergent processes: update source, wait for destination to reflect change In order to make this change work, however, I needed to use `env.CancelWorkflow` after completing tests since I now want the workflow running indefinitely It turns out our code doesn't adequately handle cancellation, so implemented that
- Loading branch information
Showing
19 changed files
with
657 additions
and
631 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
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
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.