Skip to content

Fix integration test failures#151

Merged
MrCreosote merged 1 commit intodevelopfrom
dev-fix_tests
Jul 26, 2022
Merged

Fix integration test failures#151
MrCreosote merged 1 commit intodevelopfrom
dev-fix_tests

Conversation

@MrCreosote
Copy link
Copy Markdown
Member

@MrCreosote MrCreosote commented Jul 26, 2022

The tests were starting before the RE API was up. I hypothesize this explains
the 1 pass / 1 fail pattern - the first test would fail because the server
wasn't up, and the step that takes the server down wouldn't run. The next set
of tests would pass, and take the server down, and so on and so forth.

Closes #105

  • [n/a] I updated the README.md docs to reflect this change.

For changes to the codebase:

  • [n/a] I have written tests to cover this change.
  • This is not a breaking API change OR
  • This is a breaking API change and I have incremented the API version and added a summary to CHANGELOG.md.

The tests were starting before the RE API was up. I hypothesize this explains
the 1 pass / 1 fail pattern - the first test would fail because the server
wasn't up, and the step that takes the server down wouldn't run. The next set
of tests would pass, and take the server down, and so on and so forth.
@MrCreosote MrCreosote requested a review from a user July 26, 2022 19:12
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Nice. LGTM

Comment thread README.md
* Merge from Develop to Main
* Draft a release using semantic versioning (e.g 1.2.3) by creating a tag with the target of Main
* Ensure release notes are updated manually and/or by AutoGenerate Release Notes

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wait why is this removed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sorry, I don't understand - there's nothing removed here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Oh. JK

@MrCreosote MrCreosote merged commit 5870d0b into develop Jul 26, 2022
@MrCreosote MrCreosote deleted the dev-fix_tests branch July 26, 2022 20:03
Comment thread scripts/run_tests.sh
# run importer/, relation_engine_server/, and spec/ tests
coverage run --branch -m pytest
# RE client tests
# RE client tests - seemss like these tests were already run in the line above, why run them again?
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

typo - seems

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Got it fixed locally, it'll show up in my next PR

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.

Intermittent test failure for TestREClientIntegration.test_admin_empty_query

2 participants