Skip to content

[Filebeat] Enabled convert_timezone in tests by default in tests#12123

Merged
ruflin merged 2 commits intoelastic:masterfrom
ruflin:enable-convert-timezone
May 21, 2019
Merged

[Filebeat] Enabled convert_timezone in tests by default in tests#12123
ruflin merged 2 commits intoelastic:masterfrom
ruflin:enable-convert-timezone

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented May 9, 2019

In #12120 a default timezone (UTC) is introduced for the tests. This allows us to enabled convert_timezone in all tests. It guarantees that we also test the data conversion part in the pipelines.

No timestamps changed because they were already assumed in UTC when no timezone is set.

@ruflin ruflin added review Filebeat Filebeat blocked Team:Integrations Label for the Integrations team labels May 9, 2019
@ruflin ruflin requested review from a team as code owners May 9, 2019 10:13
@ruflin ruflin force-pushed the enable-convert-timezone branch 2 times, most recently from 98e7b00 to 8fd4ebc Compare May 10, 2019 06:15
In elastic#12120 a default timezone (UTC) is introduced for the tests. This allows us to enabled `convert_timezone` in all tests. It guarantees that we also test the data conversion part in the pipelines.

No timestamps changed because they were already assumed in UTC when no timezone is set.
@ruflin ruflin force-pushed the enable-convert-timezone branch from 8fd4ebc to f8b2995 Compare May 20, 2019 13:55
@ruflin ruflin removed the blocked label May 20, 2019
Copy link
Copy Markdown
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

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

I would even enable it in all filesets 😄

@ruflin ruflin merged commit 311e763 into elastic:master May 21, 2019
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented May 21, 2019

@jsoriano Not sure I get your comment. You mean changing the default?

@ruflin ruflin deleted the enable-convert-timezone branch May 21, 2019 19:00
@jsoriano
Copy link
Copy Markdown
Member

@ruflin yes, I was only giving a +1 to changing this option so all modules convert timezones by default. But this is something to think better in a future PR :)

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

Labels

Filebeat Filebeat review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants