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

Fix parsing timestamp in test #19796

Merged
merged 1 commit into from
Jul 13, 2020
Merged

Conversation

urso
Copy link

@urso urso commented Jul 9, 2020

  • Bug

What does this PR do?

Fix parsing the registry file timestamp in system tests.

Why is it important?

Some system tests can have multiple entries for the same path (e.g. after rename or copy). To compensate for this the tests sort entries by timestamp when looking up a path.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
    - [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@urso urso added review needs_backport PR is waiting to be backported to other branches. Team:Integrations Label for the Integrations team labels Jul 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19796 opened]

  • Start Time: 2020-07-09T15:19:23.780+0000

  • Duration: 61 min 8 sec

Test stats 🧪

Test Results
Failed 0
Passed 1788
Skipped 292
Total 2080

Steps errors

Expand to view the steps failures

  • Name: Report to Codecov
    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Duration: 1 min 27 sec

    • Start Time: 2020-07-09T16:07:47.808+0000

    • log

@kvch kvch merged commit 0027486 into elastic:master Jul 13, 2020
v1v added a commit to v1v/beats that referenced this pull request Jul 13, 2020
* upstream/master:
  Fix parsing timestamp in Filebeat registry tests (elastic#19796)
  Add text & flattened fields in aws cloudtrail fileset (elastic#19121)
v1v added a commit to v1v/beats that referenced this pull request Jul 13, 2020
* upstream/master:
  [CI] support windows-2012 (elastic#19773)
  Do not update go.mod during packaging and testing (elastic#19823)
  Fix typo in ILM warning message (elastic#19819)
  [Winlogbeat] Remove beta tag from Powershell and Security modules (elastic#19817)
  feat: move the multibranch pipeline job to the beats repo (elastic#19698)
  Fix parsing timestamp in Filebeat registry tests (elastic#19796)
  Add text & flattened fields in aws cloudtrail fileset (elastic#19121)
@urso urso added v7.9.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jul 13, 2020
urso pushed a commit to urso/beats that referenced this pull request Jul 13, 2020
urso pushed a commit that referenced this pull request Jul 14, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants