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

New fuzz search api for exchange_server and ringbuffer #798

Merged
merged 6 commits into from Jan 8, 2024
Merged

Conversation

RanMaoyi
Copy link
Contributor

@RanMaoyi RanMaoyi commented Jan 8, 2024

No description provided.

Signed-off-by: Moi Ran <maoyi.ran@emqx.io>
Signed-off-by: Moi Ran <maoyi.ran@emqx.io>
Signed-off-by: Moi Ran <maoyi.ran@emqx.io>
Signed-off-by: Moi Ran <maoyi.ran@emqx.io>
@@ -91,4 +91,9 @@ int ringBuffer_release(ringBuffer_t *rb);

int ringBuffer_search_msg_by_key(ringBuffer_t *rb, uint64_t key, nng_msg **msg);
int ringBuffer_search_msgs_by_key(ringBuffer_t *rb, uint64_t key, uint32_t count, nng_msg ***list);
int ringBuffer_search_msgs_fuzz(ringBuffer_t *rb,
Copy link
Member

Choose a reason for hiding this comment

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

seems inconsistent with function declarations before

Copy link
Member

Choose a reason for hiding this comment

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

I means the format...

Copy link
Member

Choose a reason for hiding this comment

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

not looking good though

@RanMaoyi
Copy link
Contributor Author

RanMaoyi commented Jan 8, 2024

CI is crashing with some strange error. It doesn't fail with debug asan enabled.🤔

Signed-off-by: Moi Ran <maoyi.ran@emqx.io>
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (cdeca1a) 63.12% compared to head (6e73a5c) 63.23%.

Files Patch % Lines
src/supplemental/nanolib/ringbuffer/ringbuffer.c 78.94% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #798      +/-   ##
==========================================
+ Coverage   63.12%   63.23%   +0.10%     
==========================================
  Files         123      123              
  Lines       36101    36164      +63     
==========================================
+ Hits        22789    22867      +78     
+ Misses      13312    13297      -15     

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

@RanMaoyi
Copy link
Contributor Author

RanMaoyi commented Jan 8, 2024

CI is crashing with some strange error. It doesn't fail with debug asan enabled.🤔

fixed

@JaylinYu JaylinYu merged commit 9d5f4b8 into main Jan 8, 2024
16 checks passed
@JaylinYu JaylinYu deleted the moi_fuzz branch January 8, 2024 11:17
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