Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Anonymous Ticket Portal Anonymous Ticket Portal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • Anonymous Ticket PortalAnonymous Ticket Portal
  • Merge requests
  • !82

Added tests for combined rate-limiting bucket, including # trials and response status codes for each trial

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged MariaV requested to merge combined_test into master Feb 12, 2021
  • Overview 0
  • Commits 1
  • Changes 1

Added tagged test (rate-limit-combined) for testing rate-limiting function using a new variable, "fraction", which is then * by rate_limit numerator in .env file and then += 1 to ensure that the combined total of all rate_limiting trials (create issue + create notes) during the test will exceed allowed rate and raise 403 exception.

All tests passing at 94 percent coverage per python coverage.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: combined_test