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

Rspec Test suite sometimes fails in CI Workflow #5677

Open
2 tasks
prathamVaidya opened this issue Feb 27, 2024 · 2 comments
Open
2 tasks

Rspec Test suite sometimes fails in CI Workflow #5677

prathamVaidya opened this issue Feb 27, 2024 · 2 comments
Labels

Comments

@prathamVaidya
Copy link
Contributor

prathamVaidya commented Feb 27, 2024

Issue Description

Intermittently, certain specs fail in the RSpec Test Suite during the CI Workflow build.

Reproduction Steps

  1. Create a pull request (PR) on the repository, triggering the CI workflow for your PR.
  2. Despite the presence of all expected RSpec tests in the repository, some specs may fail unexpectedly.

Expected Behavior

The rspec test suite should ideally maintain consistency in passing without random failures.

Screenshots

image

Additional Context

Different spec tests fail on each occasion, possibly attributed to occasional failures in the utilized API.

Please Comment on Any Flaky Specs Frequently Failing (Sub-tasks Below)

List of Specs Occasionally Failing

  • revision_importer_spec.rb: import_revisions_for_course when there are edits to articles with four-byte unicode characters in the title handles revisions with four-byte unicode characters See Logs
  • update_wiki_namespace_stats_spec.rb: UpdateWikiNamespaceStats adds articles with only tracked namespaces to article_courses See Logs
@ragesoss
Copy link
Member

There are a few open tasks for some of the individual specs that fail more often, but feel free to list any spec that you see with an intermittent failure here in the comments.

@prathamVaidya
Copy link
Contributor Author

Sure, I have updated the Issue to maintain the list of these flaky specs that are failing. I'll try to fix one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants