fedspendingtransparency / usaspending-api

Server application to serve U.S. federal spending data via a RESTful API
https://www.usaspending.gov
Creative Commons Zero v1.0 Universal
310 stars 113 forks source link

[DEV-11022] Fix for Travis Timeout Issues #4112

Closed ayubshahab closed 5 months ago

ayubshahab commented 5 months ago

Description: Certain jobs within out testing suite in travis were having timeout issues where the tests would keep running in the background but Travis would think that the tests may have failed or stalled. This adds a fix for that. Furthermore, certain chunks of code were not passing the codeclimate check due to high complexity, so those were reformatted.

Technical details: N/A

Requirements for PR merge:

  1. [X] Unit & integration tests updated
  2. [X] API documentation updated
  3. [X] Necessary PR reviewers:
    • [X] Backend
  4. [x] Appropriate Operations ticket(s) created
  5. [x] Jira Ticket DEV-11022:
    • [x] Link to this Pull-Request