Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Th2 5107] User can't change gRPC retry configuration via schema #282

Merged
merged 9 commits into from
Oct 30, 2023

Conversation

Nikita-Smirnov-Exactpro
Copy link
Member

No description provided.

* the whole default gRPC retry interval is about 1 hour
@Nikita-Smirnov-Exactpro Nikita-Smirnov-Exactpro changed the base branch from master to dev-version-5 October 18, 2023 14:01
README.md Outdated Show resolved Hide resolved
}

clientServerBaton.get("wait client thread start")
Thread.sleep(RETRY_TIMEOUT * 2)
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to wait here? If you need to make sure the task is executed within a timeout you can use Assertions.assertTimeoutPreemptively method

Copy link
Member Author

Choose a reason for hiding this comment

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

I use fixed retry timeout in these tests. I wait time to grantee that client switch to retry mode. The time can be reduced because gRPC router begin retry after first failure

@Nikita-Smirnov-Exactpro Nikita-Smirnov-Exactpro merged commit 35896a1 into dev-version-5 Oct 30, 2023
8 of 9 checks passed
@Nikita-Smirnov-Exactpro Nikita-Smirnov-Exactpro deleted the TH2-5107 branch October 30, 2023 09:41
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