Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): Make them work #558

Merged
merged 1 commit into from Jun 16, 2022
Merged

chore(tests): Make them work #558

merged 1 commit into from Jun 16, 2022

Conversation

bkochendorfer
Copy link
Member

There were several issues with these tests preventing them from working.

  • The parallelism caused port collision despite using a random port
  • The run_before section in tox.ini caused several issues in parallel
    as it was killing the testing harness for other tests while running
  • There is a bug in flask-restful which prevents it from correctly
    parsing args if you do not specify location and are running inside a
    virtual environment. reqparse raises on any non-JSON request with Werkzeug 2.1.0 flask-restful/flask-restful#936
  • Moto changed it's testing signature requiring arity of two.
  • The psycopg2 manually installed version doesn't seem to work correctly
    in the tests and there are comments saying as much

@bkochendorfer bkochendorfer requested review from floatingatoll and a team June 16, 2022 14:44
There were several issues with these tests preventing them from working.

* The parallelism caused port collision despite using a random port
* The `run_before` section in tox.ini caused several issues in parallel
  as it was killing the testing harness for other tests while running
* There is a bug in flask-restful which prevents it from correctly
  parsing args if you do not specify location and are running inside a
  virtual environment. flask-restful/flask-restful#936
* Moto changed it's testing signature requiring arity of two.
* The psycopg2 manually installed version doesn't seem to work correctly
  in the tests and there are comments saying as much
Copy link
Contributor

@floatingatoll floatingatoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@bkochendorfer bkochendorfer merged commit 7217f58 into master Jun 16, 2022
@bkochendorfer bkochendorfer deleted the fix-tests branch June 16, 2022 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants