Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !40

Merged
Created Mar 07, 2018 by Jérome Perrin@jeromeOwner

Speed up URL tests

  • Overview 1
  • Commits 2
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/url_test
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7