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 another stress test for SQLite #3195

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

noisersup
Copy link
Member

@noisersup noisersup commented Aug 13, 2023

Description

Closes #3172.

Readiness checklist

  • I added/updated unit tests (and they pass).
  • I added/updated integration/compatibility tests (and they pass).
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@noisersup noisersup self-assigned this Aug 13, 2023
@codecov
Copy link

codecov bot commented Aug 13, 2023

Codecov Report

Merging #3195 (c4492e9) into main (a35f4e1) will decrease coverage by 3.43%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3195      +/-   ##
==========================================
- Coverage   75.50%   72.08%   -3.43%     
==========================================
  Files         396      396              
  Lines       22210    22210              
==========================================
- Hits        16770    16009     -761     
- Misses       4461     5164     +703     
- Partials      979     1037      +58     

see 64 files with indirect coverage changes

Flag Coverage Δ
hana ?
integration 68.12% <ø> (-3.79%) ⬇️
mongodb 5.30% <ø> (ø)
pg 60.40% <ø> (-4.88%) ⬇️
shard-1 56.40% <ø> (-0.23%) ⬇️
shard-2 29.76% <ø> (-25.53%) ⬇️
shard-3 54.94% <ø> (-0.64%) ⬇️
sqlite 36.58% <ø> (-1.38%) ⬇️
unit 24.68% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@AlekSi AlekSi left a comment

Choose a reason for hiding this comment

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

staticcheck linter is correct there. It is hard to argue if there is a problem in FerretDB when the test itself is not correct.

Also, we don't use T{} form when there is nothing that possibly could be initialized (there are no exported fields). See also https://dave.cheney.net/practical-go/presentations/gophercon-singapore-2019.html#_use_a_consistent_declaration_style

@AlekSi AlekSi added the not ready Issues that are not ready to be worked on; PRs that should skip CI label Aug 17, 2023
@AlekSi AlekSi removed the not ready Issues that are not ready to be worked on; PRs that should skip CI label Aug 17, 2023
@AlekSi AlekSi added this to the Next milestone Aug 17, 2023
@AlekSi AlekSi changed the title Stress test for unstable SQLite tests Add another stress test for SQLite Aug 17, 2023
@AlekSi AlekSi added the code/chore Code maintenance improvements label Aug 17, 2023
@AlekSi AlekSi marked this pull request as ready for review August 17, 2023 12:30
@AlekSi AlekSi enabled auto-merge (squash) August 17, 2023 12:30
@AlekSi AlekSi requested review from a team, rumyantseva and chilagrow August 17, 2023 12:31
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

:shipit:

@AlekSi AlekSi merged commit f1f284e into FerretDB:main Aug 17, 2023
yonarw pushed a commit to yonarw/FerretDB that referenced this pull request Aug 31, 2023
Closes FerretDB#3172.

Co-authored-by: Alexey Palazhchenko <alexey.palazhchenko@ferretdb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Fix SQLite unstable tests
3 participants