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

org.apache.camel.quarkus.component.splunk.it.SplunkTest failure if system timezone isn't UTC #2542

Closed
ffang opened this issue Apr 29, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@ffang
Copy link
Contributor

ffang commented Apr 29, 2021

When running this test locally, I constantly got error like "Invalid latest_time: latest_time must be after earliest_time."
I strongly suspect this is a timezone configuration issue because if I set initEarliestTime=-14440s(4 hours offset of my time to UTC), I don't see this error but still can't retrieve any previously inserted entry from splunk.

After a couple of trail-error I realized that splunk docker image doesn't ship linux tzdata package so actually we can't simply specify the TZ ENV. We must install this package first with "sudo microdnf"

@ffang ffang self-assigned this Apr 29, 2021
@ffang ffang added the test label Apr 29, 2021
ffang added a commit to ffang/camel-quarkus that referenced this issue Apr 29, 2021
ppalaga pushed a commit that referenced this issue Apr 30, 2021
@ffang ffang closed this as completed Apr 30, 2021
jamesnetherton pushed a commit to jboss-fuse/camel-quarkus that referenced this issue Jun 9, 2021
jamesnetherton pushed a commit to jboss-fuse/camel-quarkus that referenced this issue Jun 9, 2021
@ppalaga ppalaga added this to the 2.0.0-M1 milestone Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants