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

Revisit metrics test - update metrics to store whether or not sync to disk was disabled #6206

Merged
merged 3 commits into from
Feb 7, 2023

Conversation

michael-wb
Copy link
Contributor

@michael-wb michael-wb commented Jan 17, 2023

What, How & Why?

Revisit the Metrics_TransactionTimings test since failures were still being observed as a result of the test.
For now, just disable the failing line and investigate why the final get_fsync_time_nanoseconds() check in the test is sometimes returning 0. Since this is a "non-concurrent" test, there shouldn't be any other tests that are running that could change the disable_sync_to_disk setting.

☑️ ToDos

  • 📝 Changelog update
  • 🚦 Tests (or not relevant)
  • [ ] C-API, if public C++ API changed.

@cla-bot cla-bot bot added the cla: yes label Jan 17, 2023
@michael-wb michael-wb self-assigned this Jan 18, 2023
Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

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

Interesting that this is still failing. I'm not sure this solution explains the failures? This is a NONCONCURRENT_TEST so there shouldn't be any async tests running which turn on or off the disable_sync_to_disk flag. I would prefer to just use NONCONCURRENT_TEST_IF(..., false) (with an explanatory comment) to disable this entire test for now since these metrics aren't actually used for anything in production right now.

@michael-wb michael-wb marked this pull request as draft January 27, 2023 13:41
@michael-wb michael-wb marked this pull request as ready for review February 6, 2023 19:31
@michael-wb michael-wb merged commit bad48eb into master Feb 7, 2023
@michael-wb michael-wb deleted the mwb/update-metrics-test2 branch February 7, 2023 16:45
@kiburtse kiburtse mentioned this pull request Mar 3, 2023
3 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants