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

Added Tests for BulkWrite method #50

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ritchie6
Copy link
Contributor

@Ritchie6 Ritchie6 commented Jan 9, 2025

Write Test for Concurrent Bulk Write Operations

Closes #45

Type of Change

  • Other (please specify): Tests

Description of Change
Added tests for the BulkWrite method (implemented in memoria.go) in the file memoria_test.go

Implementation Details
I took various test cases like- "Bulk write with multiple pairs", "Bulk write with an empty key" etc. and then implemented them through the basic testing process. The tests ran successfully!

Demo
output result:
Screenshot 2025-01-10 at 3 02 28 AM

debug result:
Screenshot 2025-01-10 at 3 02 34 AM

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.

Write Test for Concurrent Bulk Write Operations
1 participant