-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Unary Callables Deadline values respect the TotalTimeout in Retr…
…ySettings (#1603) * chore: Add retry test * chore: Check the timeout for unary callables * chore: Fix tests * chore: Address code smell * chore: Add tests for DEADLINE_EXCEEDED * chore: Add tests for Server-side streaming * chore: Start the timeout after http request invocation * chore: Fix format issues * chore: Remove Instant calculation with System clock * chore: Add ITRetry test cases * chore: Fix the Retry showcase test * chore: Fix the Retry showcase test * chore: Convert duration to nanos * chore: Set the readTimeout min to 20s * chore: Add sucessful retry tests cases * chore: Add comments to timeout * chore: Update the connect timeout * chore: Refactor timeout logic * chore: Fix format issues * chore: Add logic for deadlineScheduler * chore: Fix format issues * chore: Update logic * chore: Update comment * chore: Update showcase test * chore: Fix format issues * chore: Fix logic * chore: Do not disconnect the connection * chore: Disconnect after end * chore: Resolve steam close error * chore: Fix disconnect logic * chore: Fix disconnect logic * chore: Update CI * chore: Fix native test * chore: Revert changes * chore: try with rpc timeout 100ms * chore: Fix format issues * chore: Re-run delivery loop with deadlineschedule priority * chore: Check for timeoutExceeded * chore: Do not send message is time exceeded * chore: Fix format issues * chore: Add timeout for tests * chore: Fix format issues * chore: Refactor trailer logic * chore: Refactor trailer logic * chore: Rename variables * chore: Increase the wait to 1s * chore: Fix format issues * chore: Set closed var as volatile * chore: Update logic for onClose * chore: Attempt with longer timeout * chore: Empty commit * chore: Fix format issues * chore: Trigger deliver loop instead of notifyListeners * chore: Remove variable * chore: Remove variable * chore: Fix close logic * chore: Revert graalvm ci * chore: Use 2s as delay * chore: Update to 5s delay * chore: Add comments for timeout method * chore: Use deliver loop in timeout * chore: Run matrix jobs sequentially * chore: Fix format issues * chore: Fix format issues * chore: Increase the wait to 10s * chore: Use 110ms delay * chore: Set delay to be 30s * chore: Fix format issues * chore: Log the onClose message * chore: Remove localRunnable * chore: Fix format issues * chore: Lower the retry amounts * chore: Lower the retry amounts * chore: Fix shouldRetry logic * chore: Log results of shouldRetry * chore: Ignore other retry tests * chore: Add more logging * chore: Fix shouldRetry logic * chore: Remove small optimization * chore: Temp ignore tests * chore: Temp ignore tests * chore: Add more logging * chore: revert back to checking for negative duration * chore: Revert ignored test * chore: Fix logging * chore: Log timeout * chore: Set min RPC timeout to be 1ms * chore: Update the retry algorithms * chore: Clean up the algoritms * chore: Uncomment out ITRetry tests * chore: Refactor the retryAlgorithms * chore: Add more comments * chore: Add in the parallel execution for ITs * chore: Add LRO showcase tests * chore: Fix format * chore: Remove deadline getters * chore: Remove sonar changes * chore: Fix algorithm test * chore: Log the flaky test * chore: Fix format * chore: Check for rpcTimeout being zero or negative * chore: Fix tests * chore: Fix format issues * chore: Remove unused code * chore: Update comment for RetryAlgorithm * chore: Fix format issues * chore: Use millis for timeout * chore: Await termination for clients * chore: Fix format issues * chore: Update LRO first call timeout value * chore: Update LRO test names * chore: Remove the parallel showcase tests * chore: Add showcase sequence tests for retries * chore: Add showcase sequence tests for retries * chore: Update retry test name * chore: Fix typos * chore: Fix server streaming callable test * chore: Clean up tests * chore: Remove retry tests * chore: Fix format issues * chore: Address PR comments * chore: Update java.time.Duration import * chore: Update values for LRO showcase test * chore: Update values for LRO showcase test * chore: Fix format issues * chore: Update variable name * chore: Convert shouldRetry logic to use milliseconds * chore: Remove jitter from tests * chore: Fix showcase test * chore: Log the attempt callable timeout * chore: Update LRO test case * chore: Add logging * chore: Use millis for timeout * chore: Address PR comments * chore: Update to use TestClientInitializer class * chore: Fix client initialize method names * chore: Add back public method * chore: Add back public methods
- Loading branch information
Showing
17 changed files
with
958 additions
and
68 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.