Skip to content

Commit

Permalink
Add test for service ports with same number different protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
cben committed Jan 25, 2018
1 parent 281c80f commit 01963d1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@ def assert_specific_container_services
expect(@containersrv.container_project).to eq(ContainerProject.find_by(:name => "default"))
expect(@containersrv.ext_management_system).to eq(@ems)
expect(@containersrv.container_image_registry).to be_nil
expect(@containersrv.container_service_port_configs.pluck(:name, :protocol, :port)).to contain_exactly(
["https", "TCP", 443],
["dns", "UDP", 53],
["dns-tcp", "TCP", 53]
)
end

def assert_specific_container_image_registry
Expand Down

0 comments on commit 01963d1

Please sign in to comment.