Skip to content

Conversation

@mdumandag
Copy link
Contributor

@mdumandag mdumandag commented Mar 11, 2020

fixes #191

Also adds a test to verify that the TimeoutError is actually raised. Test uses the fact that there is no partition owner for the id of -1, so invocation will be retried. We sleep 2 * INVOCATION_TIMEOUT_SECONDS inside the mocked has_partition_id method to simulate the timeout scenario.

@mdumandag mdumandag requested a review from sancar March 11, 2020 10:50
@mdumandag mdumandag self-assigned this Mar 11, 2020
@mdumandag mdumandag merged commit b34b93d into hazelcast:master Mar 11, 2020
@mdumandag mdumandag deleted the fix-typo branch March 11, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

set_excetion instead of set_exception in invocation.py

2 participants