Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !40

Speed up URL tests

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/slapos.core:fix/url_test into master Mar 07, 2018
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 1

These tests from slapos/tests/slap.py seem to be testing the URL rewriting part of the API, but they have a side effect of actually making a connection, which fails after a long timeout.

This is two change:

  • use some link local ipv6 address
  • connect to example.com:80 (which will accept the connection) instead of foo.com:5000 which does not.

The total test execution time for me was reduced from 4m34.156s to 1m6.131s

/cc @rafael @alain.takoudjou @luke

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/url_test
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7