Skip to content

Commit

Permalink
remove duplicate test case (#4228)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshrider authored and knative-prow-robot committed Jun 3, 2019
1 parent a08fd18 commit 10b2a4d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pkg/apis/serving/k8s_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,19 +669,6 @@ func TestContainerValidation(t *testing.T) {
apis.ErrDisallowedFields("stdinOnce")).Also(
apis.ErrDisallowedFields("tty")).Also(
apis.ErrDisallowedFields("volumeDevices")),
}, {
name: "invalid liveness tcp probe (has port)",
c: corev1.Container{
Image: "foo",
LivenessProbe: &corev1.Probe{
Handler: corev1.Handler{
TCPSocket: &corev1.TCPSocketAction{
Port: intstr.FromString("http"),
},
},
},
},
want: apis.ErrDisallowedFields("livenessProbe.tcpSocket.port"),
}, {
name: "has numerous problems",
c: corev1.Container{
Expand Down

0 comments on commit 10b2a4d

Please sign in to comment.