Skip to content

Commit 348bd00

Browse files
committed
fixing PR checks
1 parent c133dba commit 348bd00

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

test/e2e/instascale.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ package e2e
22

33
import (
44
. "github.com/onsi/gomega"
5-
ocmsdk "github.com/openshift-online/ocm-sdk-go"
6-
. "github.com/project-codeflare/codeflare-operator/test/support"
75
mcadv1beta1 "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1"
6+
87
batchv1 "k8s.io/api/batch/v1"
98
corev1 "k8s.io/api/core/v1"
109
"k8s.io/apimachinery/pkg/api/resource"
1110
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
11+
12+
ocmsdk "github.com/openshift-online/ocm-sdk-go"
13+
14+
. "github.com/project-codeflare/codeflare-operator/test/support"
1215
)
1316

1417
func TestConfig(test Test, namespace string) (*corev1.ConfigMap, error) {

test/e2e/instascale_machinepool_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import (
66

77
. "github.com/onsi/gomega"
88
mcadv1beta1 "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1"
9+
910
batchv1 "k8s.io/api/batch/v1"
1011
corev1 "k8s.io/api/core/v1"
12+
1113
. "github.com/project-codeflare/codeflare-operator/test/support"
1214
)
1315

test/support/clusterpools.go

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,11 @@ import (
88

99
ocmsdk "github.com/openshift-online/ocm-sdk-go"
1010
cmv1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1"
11-
mapiclientset "github.com/openshift/client-go/machine/clientset/versioned"
12-
"github.com/openshift/client-go/machine/listers/machine/v1beta1"
1311
)
1412

1513
var (
16-
ClusterID string = os.Getenv("CLUSTERID")
17-
machineClient mapiclientset.Interface
18-
msLister v1beta1.MachineSetLister
19-
TestName string = "test-instascale"
20-
)
21-
22-
const (
23-
namespaceToList = "openshift-machine-api"
14+
ClusterID string = os.Getenv("CLUSTERID")
15+
TestName string = "test-instascale"
2416
)
2517

2618
func CreateOCMConnection(secret string) (*ocmsdk.Connection, error) {

0 commit comments

Comments
 (0)