Include tests in golint checks, fix warnings (#2180)
This commit is contained in:
parent
31306658f1
commit
86a3a63488
9 changed files with 30 additions and 29 deletions
|
|
@ -32,16 +32,7 @@ import (
|
|||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
const (
|
||||
podName = "test-ingress-controller"
|
||||
controllerPodName = "nginx-ingress-controller"
|
||||
)
|
||||
|
||||
const (
|
||||
MaxRetry = 200
|
||||
NoRetry = 1
|
||||
)
|
||||
|
||||
// RequestScheme define a scheme used in a test request.
|
||||
type RequestScheme string
|
||||
|
||||
// These are valid test request schemes.
|
||||
|
|
@ -63,7 +54,7 @@ type Framework struct {
|
|||
Namespace *v1.Namespace
|
||||
|
||||
// To make sure that this framework cleans up after itself, no matter what,
|
||||
// we install a Cleanup action before each test and clear it after. If we
|
||||
// we install a Cleanup action before each test and clear it after. If we
|
||||
// should abort, the AfterSuite hook should run all Cleanup actions.
|
||||
cleanupHandle CleanupActionHandle
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue