Skip to content

Commit

Permalink
Rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington committed Jun 19, 2019
1 parent 3fafc59 commit f9d59e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ import (
"testing"
"time"

"github.com/m3db/m3db-operator/pkg/k8sops"

crdfake "github.com/m3db/m3db-operator/pkg/client/clientset/versioned/fake"
crdinformers "github.com/m3db/m3db-operator/pkg/client/informers/externalversions"
crdlisters "github.com/m3db/m3db-operator/pkg/client/listers/m3dboperator/v1alpha1"
"github.com/m3db/m3db-operator/pkg/k8sops"
"github.com/m3db/m3db-operator/pkg/k8sops/podidentity"
"github.com/m3db/m3db-operator/pkg/m3admin/namespace"
"github.com/m3db/m3db-operator/pkg/m3admin/placement"
Expand Down
4 changes: 2 additions & 2 deletions pkg/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func TestValidateIsolationGroups(t *testing.T) {
}
}

func TestHandleChildStatefulSets(t *testing.T) {
func TestHandleUpdateClusterCreatesStatefulSets(t *testing.T) {
tests := []struct {
name string
cluster *metav1.ObjectMeta
Expand Down Expand Up @@ -525,7 +525,7 @@ func TestHandleChildStatefulSets(t *testing.T) {
c, err := deps.newController()
require.NoError(t, err)

// Keep running cluster updates until no more actions made
// Keep running cluster updates until no more stateful sets required
expectedSetsCreated := make(map[string]bool)
for _, name := range test.expCreateStatefulSets {
expectedSetsCreated[name] = false
Expand Down

0 comments on commit f9d59e8

Please sign in to comment.