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

Fix all config files #614

Merged
merged 18 commits into from
Oct 11, 2023
Merged

Fix all config files #614

merged 18 commits into from
Oct 11, 2023

Conversation

b1ron
Copy link
Contributor

@b1ron b1ron commented Oct 6, 2023

I manually added the full paths to tests that should be skipped.

And TestUnifiedSpecs is now ignored by MongoDB too, as it seems to contain flaky tests.

@b1ron b1ron self-assigned this Oct 6, 2023
@b1ron b1ron added the code/chore Dance tool code maintenance improvements label Oct 6, 2023
ExpectedPass int
Fail int
Skip int
Pass int
Copy link
Member

Choose a reason for hiding this comment

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

No, those fields should stay as is

@b1ron b1ron changed the title Rename field and fix all config files Fix all config files Oct 10, 2023
@b1ron b1ron requested a review from AlekSi October 10, 2023 10:07
@b1ron b1ron marked this pull request as ready for review October 10, 2023 10:07
@b1ron b1ron requested a review from a team as a code owner October 10, 2023 10:07
Comment on lines 21 to 23
UnexpectedFail int `yaml:"unexpected_fail"`
UnexpectedSkip int `yaml:"unexpected_skip"`
UnexpectedPass int `yaml:"unexpected_pass"`
Copy link
Member

Choose a reason for hiding this comment

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

We are going back and forth there. Those fields should never be present in the YAML configuration file – we don't expect the unexpected. fail, skip, and pass are expected values. Unexpected values should not be in the file.

We split config and configload into separate packages exactly to have them separate. Why are we trying to blend them together again?

Copy link
Contributor Author

@b1ron b1ron Oct 10, 2023

Choose a reason for hiding this comment

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

My bad for that confusion you are completely right. It's a temporary fix for when we removed our support for regex, as that logic accounted for Go tests that should be skipped. So, now they will be marked as UnexpectedSkip. All those other unexpected fields are redundant so I will remove them. I will also add a comment.

It's a little hacky but at least we have a working CI.

Copy link
Member

Choose a reason for hiding this comment

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

Let's remove UnexpectedSkip and all associated tests. Adding a comment does not change the fact that we expect unexpected things

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK cool.

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 tried to remove all associated tests with unexpected skips but it didn't work as some tests rely on variables and helpers, etc. that are contained within other files.

I think I have a less tedious approach now.

@b1ron b1ron enabled auto-merge (squash) October 10, 2023 10:52
@b1ron
Copy link
Contributor Author

b1ron commented Oct 11, 2023

@AlekSi interestingly, workloadc the READs seem to increase linearly in time by roughly 10 seconds per read. I will look into more.

@b1ron b1ron requested a review from AlekSi October 11, 2023 16:22
@AlekSi AlekSi disabled auto-merge October 11, 2023 18:19
@AlekSi AlekSi merged commit c674421 into FerretDB:main Oct 11, 2023
39 of 41 checks passed
@b1ron b1ron deleted the refactor-for-stats branch December 5, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Dance tool code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants