diff --git a/controllers/suite_test.go b/controllers/suite_test.go index 034e5811ce..a95ac6b425 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -57,7 +57,6 @@ const ( testNamespace = "openshift-sriov-network-operator" timeout = time.Second * 10 - duration = time.Second * 100 interval = time.Millisecond * 250 ) diff --git a/pkg/render/render.go b/pkg/render/render.go index 1b49b53162..59c2153876 100644 --- a/pkg/render/render.go +++ b/pkg/render/render.go @@ -40,7 +40,6 @@ const ( filesDir = "files" ovsUnitsDir = "ovs-units" switchdevUnitsDir = "switchdev-units" - platformBase = "bindata/manifests/machine-config" ) func MakeRenderData() RenderData { diff --git a/pkg/utils/shutdown.go b/pkg/utils/shutdown.go index f000037ce2..4b077a401f 100644 --- a/pkg/utils/shutdown.go +++ b/pkg/utils/shutdown.go @@ -17,12 +17,6 @@ import ( var shutdownLog = ctrl.Log.WithName("shutdown") -var sriovnetworksGVR = schema.GroupVersionResource{ - Group: "sriovnetwork.openshift.io", - Version: "v1", - Resource: "sriovnetworks", -} - var failurePolicyIgnore = admv1.Ignore func Shutdown() { diff --git a/test/e2e/e2e_tests_suite_test.go b/test/e2e/e2e_tests_suite_test.go index fdfcb1bcbc..cc6858a46b 100644 --- a/test/e2e/e2e_tests_suite_test.go +++ b/test/e2e/e2e_tests_suite_test.go @@ -40,7 +40,6 @@ var doneNetNsSet chan error // Define utility constants for object names and testing timeouts/durations and intervals. const ( timeout = time.Second * 30 - duration = time.Second * 300 interval = time.Second * 1 devPollInterval = time.Millisecond * 400 )