Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mjwshared
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • mjwshared
  • Merge requests
  • !17

Exception if error under test

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Rich requested to merge artfulrobot/mjwshared:exception-if-error-under-test into 1.0 Mar 09, 2021
  • Overview 4
  • Commits 17
  • Pipelines 0
  • Changes 23

@mattwire This is fairly simple: if we're under test then there's no point calling statusBounce() so we throw an exception instead which makes more sense when observing test results.

No tests rely on this (yet); it just helps in testing when stuff does go wrong, and won't have any detrimental effect on production.

(I need to post this to see if it's picked up the right commit. Looks a bit wrong at this point.)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: exception-if-error-under-test