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

feat(tests): Add individual evergreen test results with XUnit #2227

Merged
merged 41 commits into from
Oct 24, 2024

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Oct 18, 2024

Allows for individual testing results to be viewed and makes it easier to detect specific flaky tests with Foliage in the future.

.evergreen.yml Outdated Show resolved Hide resolved
@gagik gagik force-pushed the gagik/report-individual-tests branch from 32495e3 to c299e68 Compare October 20, 2024 20:03
@gagik gagik changed the title WIP: XUnit results experiment feat: Add individual evergreen test results with XUnit Oct 23, 2024
@gagik gagik changed the title feat: Add individual evergreen test results with XUnit feat(tests): Add individual evergreen test results with XUnit Oct 23, 2024
@gagik gagik marked this pull request as ready for review October 23, 2024 11:51
@gagik gagik marked this pull request as draft October 23, 2024 11:51
@@ -0,0 +1,3 @@
<!-- An empty test suite which is needed as not all tasks produce XUnit results and the current Evergreen setup always expects some file to be uploaded -->
<testsuite name="empty" tests="0" failures="0" errors="0" skipped="0" timestamp="Fri, 18 Oct 2024 09:21:06 GMT" time="8.907">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't think of a better way to go about this... evergreen seems to fail the job completely when no files are found in the attach results step

@gagik gagik requested a review from addaleax October 24, 2024 07:53
@gagik gagik marked this pull request as ready for review October 24, 2024 07:53
@gagik gagik merged commit bdf8d55 into main Oct 24, 2024
68 of 72 checks passed
@gagik gagik deleted the gagik/report-individual-tests branch October 24, 2024 10:24
nirinchev added a commit that referenced this pull request Oct 25, 2024
* main:
  chore: update auto-generated files (#2237)
  feat(shell-api): add shardedDataDistribution to sh.status() MONGOSH-1326 (#2214)
  chore: update auto-generated files (#2235)
  feat(tests): Add individual evergreen test results with XUnit (#2227)
  chore: update auto-generated files (#2234)
  chore: rename service-provider-server and `CliServiceProvider` (#2232)
  chore: update auto-generated files (#2233)
  chore(deps): Add node-gyp version control across different distros MONGOSH-1891 (#2230)
  chore: update auto-generated files (#2231)
  fix(shell-api): Align database and collection aggregate functions MONGOSH-1868 (#2229)
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.

2 participants