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

Add missing exception testing. #391

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

aaronweeden
Copy link
Contributor

@aaronweeden aaronweeden commented Aug 21, 2024

Description

This PR adds CircleCI testing for exceptions logged to logs/exceptions.log in the checked out xdmod repository. For example, an exception caused by a bug in integration test code might be echoed to stderr and written to logs/exceptions.log but not cause phpunit to fail, and thus CircleCI would not fail.

There is currently such a bug that is being fixed by #392. That PR will need to be merged before the CircleCI steps in this PR pass.

There is also a PR for ubccr/xdmod#1903.

Tests performed

I committed the changes in this PR and confirmed the CircleCI build fails due to the bug being fixed in #392, and I confirmed the stored artifact has the correct contents.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

jpwhite4
jpwhite4 previously approved these changes Aug 21, 2024
rather than at the end, so you don't have to wait as long for failure.
Also store all of the files from /root/xdmod/logs for debugging.
@jpwhite4 jpwhite4 added this to the 11.5.0 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants