Skip to content

Conversation

@sampsapenna
Copy link
Member

@sampsapenna sampsapenna commented Aug 19, 2019

Description

Increase test coverage over the backend, as well as add the possibility for API performance testing. Add HTTPS back as an option when running the server.

Type of change

  • New feature (non-breaking change which adds functionality)

Changes Made

  • Add a locustfile for stress testing the API.
  • Improve test coverage with, e.g. middleware tests and additional server testing.
  • Finish the run_server_secure function to enable running with HTTPS enabled.

Testing

  • Unit Tests

blankdots and others added 21 commits August 8, 2019 12:52
The return value check is not necessary, since all the failure
conditions present in check_csrf lead to an exception, there is
no viable execution path which could lead to the check being
not True while having the check_csrf function not throw.
Api session validity check function unit tests were not properly
formed, leading to lower than expected testing coverage. The
edge cases of the session validity checks are now tested for.
Added tests for testing openstack active project api call,
unicode null filtering and swift error handling in container
listing.
Add locust file for rudimentary API performance testing.
HTTPS was previously disabled in standalone mode (not running with a
TLS termination proxy) due to difficulties in getting it properly
running. Now the problems are fixed and running with HTTPS has been
enabled again.

Also added CLI options for specifying the SSL certificates for HTTPS.
@sampsapenna sampsapenna requested a review from blankdots August 19, 2019 10:47
@sampsapenna sampsapenna self-assigned this Aug 19, 2019
@blankdots blankdots added the release For when we release label Aug 19, 2019
@blankdots blankdots merged commit 316d76f into master Aug 19, 2019
sampsapenna added a commit that referenced this pull request Jul 27, 2021
sampsapenna pushed a commit that referenced this pull request Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release For when we release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants