Skip to content

test(e2e): fix Index out of bounds on "runner logs"#537

Merged
lklimek merged 4 commits intov0.10-devfrom
e2e-fix-index-oob
Dec 21, 2022
Merged

test(e2e): fix Index out of bounds on "runner logs"#537
lklimek merged 4 commits intov0.10-devfrom
e2e-fix-index-oob

Conversation

@lklimek
Copy link
Collaborator

@lklimek lklimek commented Dec 21, 2022

Issue being fixed or feature implemented

e2e runner throws panic during execution of "runner logs":

 panic: runtime error: slice bounds out of range [:12] with capacity 11

What was done?

Fixed issue, added unit tests.

How Has This Been Tested?

Unit test

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

shotonoff
shotonoff previously approved these changes Dec 21, 2022
Copy link
Collaborator

@shotonoff shotonoff left a comment

Choose a reason for hiding this comment

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

LGTM
left a couple of comments

Copy link
Collaborator

@shotonoff shotonoff left a comment

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

@shotonoff shotonoff left a comment

Choose a reason for hiding this comment

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

🚀

@lklimek lklimek merged commit ecd519d into v0.10-dev Dec 21, 2022
@lklimek lklimek deleted the e2e-fix-index-oob branch December 21, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants