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 foundationdb-simulation crate #101

Merged
merged 6 commits into from
Sep 6, 2023

Conversation

Wonshtrum
Copy link
Contributor

This crate aims to provide a framework to easily test in the Foundationdb simulator Rust layers built with foundation-rs.
To do so, Rust workloads that implement the RustWorkload trait, are "registered" using the simulation_entrypoint macro and compiled as a "cdylib", will be recognized as ExternalWorkload by the fdbsever. More info in foundationdb-simulation/docs/README.md.

@coveralls
Copy link

coveralls commented Aug 25, 2023

Pull Request Test Coverage Report for Build 5997250982

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 115 unchanged lines in 8 files lost coverage.
  • Overall coverage increased (+1.0%) to 73.679%

Files with Coverage Reduction New Missed Lines %
foundationdb/src/directory/mod.rs 2 92.56%
foundationdb/src/transaction.rs 3 86.87%
foundationdb/src/directory/directory_layer.rs 7 93.22%
foundationdb/src/directory/directory_partition.rs 9 75.0%
foundationdb-bindingtester/src/main.rs 11 88.05%
foundationdb/src/database.rs 11 60.43%
foundationdb/src/tuple/pack.rs 35 86.21%
foundationdb/src/tenant.rs 37 0.0%
Totals Coverage Status
Change from base Build 5940346972: 1.0%
Covered Lines: 4126
Relevant Lines: 5600

💛 - Coveralls

@PierreZ PierreZ force-pushed the simulation branch 3 times, most recently from 6120383 to a29ce91 Compare August 25, 2023 08:30
@codecov-commenter
Copy link

codecov-commenter commented Aug 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: +2.62% 🎉

Comparison is base (23f4b58) 79.89% compared to head (a12f7ea) 82.51%.

❗ Current head a12f7ea differs from pull request most recent head 5cb0f42. Consider uploading reports for the commit 5cb0f42 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   79.89%   82.51%   +2.62%     
==========================================
  Files          27       23       -4     
  Lines        5212     4844     -368     
==========================================
- Hits         4164     3997     -167     
+ Misses       1048      847     -201     

see 13 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PierreZ PierreZ force-pushed the simulation branch 15 times, most recently from 0caceee to 4e48c2c Compare August 31, 2023 14:08
@PierreZ PierreZ force-pushed the simulation branch 2 times, most recently from a12f7ea to 5cb0f42 Compare September 4, 2023 12:33
@PierreZ PierreZ merged commit 7f98ec2 into foundationdb-rs:main Sep 6, 2023
30 checks passed
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

4 participants