Skip to content
Snippets Groups Projects

fix: avoid requests to invalid hostname

Merged Yaroslav Dynnikov requested to merge flaky-test into master

Implementation of net_box in tarantool-module resolves hostnames with a to_socket_addrs function that is blocking. Pytest uses fake addresses in one test, and sometimes it results in 5-second blockage and consequent test failure.

This patch only provides a workaround. It makes a connection to fail even before the blocking DNS request.

See also:

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading