Skip to content

Conversation

@vakalapa
Copy link
Contributor

@vakalapa vakalapa commented Jul 7, 2021

TestAllowMultiplePodSelectors has a flake UT result due to ordering of ipset name in the comment. This PR fixes it

@vakalapa vakalapa requested review from JungukCho, matmerr and rbtr July 7, 2021 21:30
Copy link
Collaborator

@rbtr rbtr left a comment

Choose a reason for hiding this comment

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

lgtm with one question/change

}

sort.Strings(comments)
comment := strings.Join(comments, "-AND-") + "-AND-"
Copy link
Collaborator

Choose a reason for hiding this comment

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

are you appending -AND- but then immediately chomping it off below when returning [:len - len("-AND-")]?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correcting that.

Copy link
Collaborator

@rbtr rbtr left a comment

Choose a reason for hiding this comment

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

lgtm

@vakalapa vakalapa merged commit a9c2430 into master Jul 8, 2021
@vakalapa vakalapa deleted the vakr/fixmultivalueflakeut branch July 8, 2021 19:00
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.

3 participants