Skip to content

Fixing swimlane dispatcher#11

Open
dartartem wants to merge 3 commits into
eventuate-clients:masterfrom
dartartem:swimlane-dispatcher-fix
Open

Fixing swimlane dispatcher#11
dartartem wants to merge 3 commits into
eventuate-clients:masterfrom
dartartem:swimlane-dispatcher-fix

Conversation

@dartartem
Copy link
Copy Markdown
Contributor

No description provided.

private AtomicInteger numberOfEventsReceived;
private Function<DispatchedEvent<Event>, CompletableFuture<?>> handler;

@Before
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to verify that the CompletableFuture returned by dispatch() contains the expected outcome.
As well as the success cases, you should add one more test methods for the failure cases where the handler fails.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants