Skip to content

Conversation

@kaddujames501-ship-it
Copy link

Issue #4946
Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/4946

Describe changes:

  • Convert unittests to new FAIL/PASS API - stream-tcp-reassemble.c file

Provide values to any of the below to override the defaults.

  • To use a Suricata-Verify or Suricata-Update pull request,
    link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=

James Kaddu: [email protected]

@github-actions
Copy link

NOTE: This PR may contain new authors.

@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 68.49315% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.46%. Comparing base (0990c9d) to head (72bc0b9).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14111      +/-   ##
==========================================
- Coverage   84.46%   84.46%   -0.01%     
==========================================
  Files        1013     1013              
  Lines      271932   271958      +26     
==========================================
+ Hits       229694   229708      +14     
- Misses      42238    42250      +12     
Flag Coverage Δ
fuzzcorpus 63.41% <55.76%> (-0.01%) ⬇️
livemode 19.37% <0.00%> (-0.04%) ⬇️
pcap 44.86% <9.61%> (+0.02%) ⬆️
suricata-verify 65.24% <10.00%> (-0.04%) ⬇️
unittests 59.46% <53.52%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@victorjulien victorjulien added the outreachy Contributions made by Outreachy applicants label Oct 22, 2025
@kaddujames501-ship-it kaddujames501-ship-it marked this pull request as ready for review October 22, 2025 12:07
@victorjulien
Copy link
Member

Commit message should meet our requirements, can you update it?

What pcap did you test with? I didn't see one in the ticket and there is no Suricata-Verify test.

Copy link
Contributor

@jufajardini jufajardini left a comment

Choose a reason for hiding this comment

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

To Victor's point, could you please create Suricata-verify tests to accompany this work?

Thanks in advance :)

};
nfs_status = stat;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Why this extra line here?

Choose a reason for hiding this comment

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

oooh, that was a typo. will work on that.

@kaddujames501-ship-it
Copy link
Author

Commit message should meet our requirements, can you update it?

What pcap did you test with? I didn't see one in the ticket and there is no Suricata-Verify test.

thanks for the review, lemme work on the suggested changes.

@victorjulien
Copy link
Member

Can you answer the question about the pcap/SV test?

Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

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

Git message needs to meet our guidelines

@kaddujames501-ship-it
Copy link
Author

kaddujames501-ship-it commented Oct 27, 2025

Can you answer the question about the pcap/SV test?
Sure, Victor, I am pushing a PR to SV. Was doing final touches. How do we format SV changes

@kaddujames501-ship-it
Copy link
Author

Git message needs to meet our guidelines

hello Victor, this PR here is a follow-up of the requested changes.

@inashivb
Copy link
Member

Replaced w #14171

Hey @kaddujames501-ship-it ! Please close any old PRs once you have created a new one w feedback incorporated. Thank you! :)

@inashivb inashivb closed this Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

outreachy Contributions made by Outreachy applicants

Development

Successfully merging this pull request may close these issues.

4 participants