-
Notifications
You must be signed in to change notification settings - Fork 291
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
Development
: Tune data export test to prevent flakyness
#9155
Conversation
WalkthroughThe recent updates enhance the functionality and maintainability of the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
src/test/java/de/tum/in/www1/artemis/service/DataExportCreationServiceTest.java
Show resolved
Hide resolved
General
: Tune data export test to prevent flakynessDevelopment
: Tune data export test to prevent flakyness
src/test/java/de/tum/in/www1/artemis/service/DataExportCreationServiceTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the code changes make sense and fix the flakyness. I'm just not that sure about the comments changes, especially the ones which really weren't that long, but I think that's personal taste.
src/test/java/de/tum/in/www1/artemis/service/DataExportCreationServiceTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as Simon - some of the line breaks in the comments seem a bit early, especially when you look at the lines surrounding the comment
src/test/java/de/tum/in/www1/artemis/service/DataExportCreationServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/service/DataExportCreationServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/science/ScienceUtilService.java
Outdated
Show resolved
Hide resolved
448249c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainer approved
Checklist
General
Server
Motivation and Context
Tests for the export nof science events were flaky.
This was probably related to timestamps of differtent test events beeing to close together causing issues wit hte custom comparator.
Description
Fixes test timestamps at save intervals.
Review Progress
Code Review
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Style