Skip to content

Commit

Permalink
make hostPort match test linuxonly
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisantoshgudimetla authored and jsturtevant committed Jan 16, 2021
1 parent ccb394f commit b241e68
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/e2e/scheduling/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,14 @@ var _ = SIGDescribe("SchedulerPredicates [Serial]", func() {
Release: v1.16
Testname: Scheduling, HostPort matching and HostIP and Protocol not-matching
Description: Pods with the same HostPort value MUST be able to be scheduled to the same node
if the HostIP or Protocol is different.
if the HostIP or Protocol is different. This test is marked LinuxOnly since hostNetwork is not supported on
Windows.
*/
framework.ConformanceIt("validates that there is no conflict between pods with same hostPort but different hostIP and protocol", func() {

// TODO: Add a new e2e test to scheduler which validates if hostPort is working and move this test to e2e/network
// so that appropriate team owns the e2e.
// xref: https://github.com/kubernetes/kubernetes/issues/98075.
framework.ConformanceIt("validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly]", func() {

nodeName := GetNodeThatCanRunPod(f)
localhost := "127.0.0.1"
Expand Down

0 comments on commit b241e68

Please sign in to comment.