Skip to content

Conversation

uzzz
Copy link
Contributor

@uzzz uzzz commented Jan 25, 2022

This PR makes the comparison of containers' ports a bit smarter: it takes into account default protocol (TCP) and ignores different ports order.

Fixes #1384.

}
}

func TestCluster_compareContainers(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Could you reduce the tests to just TestComparePorts cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Done

@FxKu FxKu added this to the 1.8 milestone Feb 1, 2022
@jopadi
Copy link
Member

jopadi commented Feb 28, 2022

👍

1 similar comment
@FxKu
Copy link
Member

FxKu commented Feb 28, 2022

👍

@FxKu FxKu merged commit fb8a6c7 into zalando:master Feb 28, 2022
@FxKu
Copy link
Member

FxKu commented Feb 28, 2022

Thanks @uzzz for your contribution.

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.

Sidecar port default protocol are buggy

3 participants