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

Tests enhancement #38

Merged
merged 13 commits into from
Oct 24, 2024
Merged

Tests enhancement #38

merged 13 commits into from
Oct 24, 2024

Conversation

fahad-siddiqui
Copy link
Contributor

This pull request has changes to the following files:

  1. tests/basic.rs
    Added the following test cases for enhanced coverage of range iteration, random operations, and batched writes :
  • range_iterate_random()
  • range_iterate_overlap()
  • range_iterate_sparse_keys()
  • get_put_many_random()
  • get_put_many_delay()
  • get_put_delete_variable_entry()
  • override_one_random()
  • override_many_random()
  • batched_overwrite()
  • batched_overwrite_delete()
  1. Cargo.toml
    Added rand crate and updated the tokio dependency to include the “time” feature.

Cargo.toml Outdated
@@ -26,11 +26,12 @@ tokio-condvar = { version="0.3", features=["parking_lot"] }
tokio-uring = { version="0.5", optional=true }
tokio-uring-executor = { package="kioto-uring-executor", version="0.1", optional=true }
bloomfilter = { version="1", optional=true }
rand = "0.8.5"
Copy link
Owner

Choose a reason for hiding this comment

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

I think you can move this to "dev-dependencies"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. 679eae2

@kaimast
Copy link
Owner

kaimast commented Oct 24, 2024

If you run "just fix-formatting" all the tests should pass.

@fahad-siddiqui
Copy link
Contributor Author

If you run "just fix-formatting" all the tests should pass.

Done c44489d

@kaimast kaimast merged commit 98dfad8 into kaimast:main Oct 24, 2024
1 check 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.

2 participants