Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • M m2crypto
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 80
    • Issues 80
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • m2crypto
  • m2crypto
  • Merge requests
  • !204

Select longer timeout to avoid testing for OS-specific behavior

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Konstantin Shemyak requested to merge KonstantinShemyak/m2crypto:timeout-precision-2 into master Aug 09, 2018
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 3

Linux rounds microseconds in socket timeouts up to the HZ kernel parameter, Windows rounds down to milliseconds. To bypass separate checking this OS-specific behavior, pick the timeout long enough so that it is whole number of HZ for any reasonable HZ value (and also whole number of milliseconds).

Changes only in the tests.

This branch contains also commit of @mcepl which restores back tests of test_util suite.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: timeout-precision-2