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

[qfix] Increase default dial timeout to 1 second #1037

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

Bolodya1997
Copy link

Description

Default 100ms dial timeout is too low sometimes, increased to 1s.

Issue link

Related to kind integration tests failure - https://github.com/networkservicemesh/integration-k8s-kind/runs/3136678807?check_suite_focus=true.

How Has This Been Tested?

  • Added unit testing to cover Covered by existing unit testing
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix Modifying default value
  • New functionallity
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@edwarnicke
Copy link
Member

Could you explain why we are increasing this timeout?

@Bolodya1997
Copy link
Author

Could you explain why we are increasing this timeout?

Last failure of NSE composition test case was caused by NSMgr continuously failing to connect to the passthrough-1 NSE for about 1 minute, looks like it turns into a problem if host is under high load.
There is actually an issue suggesting dynamically changing this timeout due to failed/succeed dial attempts - #1033. But this PR is just a quick fix to make tests well working.

@edwarnicke edwarnicke merged commit eb8d4f4 into networkservicemesh:main Jul 23, 2021
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