mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Merge pull request #1333 from ArangoGutierrez/grpc_gone
nfd_gc_test.go: fix multiple import of same pkg
This commit is contained in:
commit
aa6e140018
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ import (
|
||||||
"k8s.io/kubernetes/test/e2e/framework"
|
"k8s.io/kubernetes/test/e2e/framework"
|
||||||
"sigs.k8s.io/node-feature-discovery/pkg/apis/nfd/v1alpha1"
|
"sigs.k8s.io/node-feature-discovery/pkg/apis/nfd/v1alpha1"
|
||||||
nfdclient "sigs.k8s.io/node-feature-discovery/pkg/generated/clientset/versioned"
|
nfdclient "sigs.k8s.io/node-feature-discovery/pkg/generated/clientset/versioned"
|
||||||
"sigs.k8s.io/node-feature-discovery/test/e2e/utils"
|
|
||||||
testutils "sigs.k8s.io/node-feature-discovery/test/e2e/utils"
|
testutils "sigs.k8s.io/node-feature-discovery/test/e2e/utils"
|
||||||
testdeploy "sigs.k8s.io/node-feature-discovery/test/e2e/utils/deployment"
|
testdeploy "sigs.k8s.io/node-feature-discovery/test/e2e/utils/deployment"
|
||||||
testpod "sigs.k8s.io/node-feature-discovery/test/e2e/utils/pod"
|
testpod "sigs.k8s.io/node-feature-discovery/test/e2e/utils/pod"
|
||||||
|
@ -87,10 +87,10 @@ var _ = SIGDescribe("NFD GC", func() {
|
||||||
// Helper functions
|
// Helper functions
|
||||||
createCRs := func(ctx context.Context, nodeNames []string) error {
|
createCRs := func(ctx context.Context, nodeNames []string) error {
|
||||||
for _, name := range nodeNames {
|
for _, name := range nodeNames {
|
||||||
if err := utils.CreateNodeFeature(ctx, nfdClient, f.Namespace.Name, name, name); err != nil {
|
if err := testutils.CreateNodeFeature(ctx, nfdClient, f.Namespace.Name, name, name); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := utils.CreateNodeResourceTopology(ctx, topologyClient, name); err != nil {
|
if err := testutils.CreateNodeResourceTopology(ctx, topologyClient, name); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue