Skip to content

log-cf-common: let mktime determine proper tz - v1#15131

Closed
jufajardini wants to merge 1 commit intoOISF:main-8.0.xfrom
jufajardini:log-cf-common-80x-backport/v1
Closed

log-cf-common: let mktime determine proper tz - v1#15131
jufajardini wants to merge 1 commit intoOISF:main-8.0.xfrom
jufajardini:log-cf-common-80x-backport/v1

Conversation

@jufajardini
Copy link
Copy Markdown
Contributor

In some timezones, LogCustomFormatTest01 was failing as we were specifying the wrong setting for is_dst. Instead set it to -1 so mktime can make the decision based on the environment. Appears to fix this test for "Brazil/East" in the summer.

Add GitHub CI tests to test this specific test with a few different timezones.

(cherry picked from commit 468a13e)

Changes:

In some timezones, LogCustomFormatTest01 was failing as we were
specifying the wrong setting for is_dst. Instead set it to -1 so mktime
can make the decision based on the environment. Appears to fix this test
for "Brazil/East" in the summer.

Add GitHub CI tests to test this specific test with a few different
timezones.

(cherry picked from commit 468a13e)
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.58%. Comparing base (a4aa865) to head (5db2a68).
⚠️ Report is 7 commits behind head on main-8.0.x.

Additional details and impacted files
@@              Coverage Diff               @@
##           main-8.0.x   #15131      +/-   ##
==============================================
- Coverage       83.59%   83.58%   -0.01%     
==============================================
  Files            1011     1011              
  Lines          266822   266822              
==============================================
- Hits           223048   223023      -25     
- Misses          43774    43799      +25     
Flag Coverage Δ
fuzzcorpus 64.02% <ø> (+0.02%) ⬆️
livemode 18.86% <ø> (+0.04%) ⬆️
pcap 44.54% <ø> (-0.05%) ⬇️
suricata-verify 64.81% <ø> (-0.04%) ⬇️
unittests 58.83% <100.00%> (ø)

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.

@suricata-qa
Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 30730

@jasonish jasonish added this to the 8.0 milestone Mar 31, 2026
@victorjulien
Copy link
Copy Markdown
Member

Merged in #15139, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants