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

CI: add slow regression tests #4646

Merged
merged 5 commits into from
Feb 27, 2025
Merged

CI: add slow regression tests #4646

merged 5 commits into from
Feb 27, 2025

Conversation

adiholden
Copy link
Collaborator

No description provided.

@adiholden adiholden requested a review from kostasrim February 23, 2025 09:17
@@ -210,7 +210,7 @@ jobs:
dfly-executable: dragonfly
run-only-on-ubuntu-latest: true
build-folder-name: build
filter: ${{ matrix.build-type == 'Release' && '(not slow) and (not dbg_only)' || '(not slow) and (not opt_only)' }}
filter: ${{ matrix.build-type == 'Release' && '(not dbg_only)' || '(not slow) and (not opt_only)' }}
Copy link
Collaborator

@romange romange Feb 23, 2025

Choose a reason for hiding this comment

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

dbg_only is not present anywhere in pytests. is it ok?
also maybe add a comment explaining that for non-release builds we run only non slow and not opt_only tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

looks like dbg_only was only for one test in the past and this marker was removed
I will add the comment

romange
romange previously approved these changes Feb 23, 2025
romange
romange previously approved these changes Feb 23, 2025
@@ -210,7 +210,8 @@ jobs:
dfly-executable: dragonfly
run-only-on-ubuntu-latest: true
build-folder-name: build
filter: ${{ matrix.build-type == 'Release' && '(not slow) and (not dbg_only)' || '(not slow) and (not opt_only)' }}
# None release build will not run tests marked as slow or opt_only
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# None release build will not run tests marked as slow or opt_only
# Non-release build will not run tests marked as slow or opt_only

@kostasrim
Copy link
Contributor

github_parrot

@@ -210,7 +210,8 @@ jobs:
dfly-executable: dragonfly
run-only-on-ubuntu-latest: true
build-folder-name: build
filter: ${{ matrix.build-type == 'Release' && '(not slow) and (not dbg_only)' || '(not slow) and (not opt_only)' }}
# Non-release build will not run tests marked as slow or opt_only
filter: ${{ matrix.build-type == 'Release' && 'not empty' || '(not slow) and (not opt_only)' }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not empty is needed because we can not use empty filter

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

of course we dont have any empty marker in our code

Copy link
Contributor

Choose a reason for hiding this comment

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

I would consider leaving a comment for this -- we will forget it in one week from now 🤣

@adiholden
Copy link
Collaborator Author

Currenly our regression tests fail. I will be able to merge this PR only after rebase of code fix

kostasrim
kostasrim previously approved these changes Feb 24, 2025
Signed-off-by: adi_holden <adi@dragonflydb.io>
Signed-off-by: adi_holden <adi@dragonflydb.io>
Signed-off-by: adi_holden <adi@dragonflydb.io>
Signed-off-by: adi_holden <adi@dragonflydb.io>
@adiholden adiholden force-pushed the ci_add_slow_regression_tests branch from 1be1cda to 9520839 Compare February 27, 2025 07:10
Signed-off-by: adi_holden <adi@dragonflydb.io>
@kostasrim kostasrim merged commit 7c2051e into main Feb 27, 2025
10 checks passed
@kostasrim kostasrim deleted the ci_add_slow_regression_tests branch February 27, 2025 09:01
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.

None yet

3 participants