Skip to content

Commit

Permalink
s/CompareClusterGenerations/CompareClusterGenerationsSteps/g
Browse files Browse the repository at this point in the history
  • Loading branch information
naemono committed Feb 16, 2022
1 parent 27aaa79 commit fd11076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/test/elasticsearch/cluster_generation.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func RetrieveClusterGenerationsStep(es esv1.Elasticsearch, k *test.K8sClient, ge

// CompareClusterGenerations compares the current metadata.generation, and status.observedGeneration
// and fails if they don't match expectations.
func CompareClusterGenerations(es esv1.Elasticsearch, k *test.K8sClient, previousClusterGeneration, previousClusterObservedGeneration *int64) test.Step {
func CompareClusterGenerationsStep(es esv1.Elasticsearch, k *test.K8sClient, previousClusterGeneration, previousClusterObservedGeneration *int64) test.Step {
return test.Step{
Name: "Cluster metadata.generation, and status.observedGeneration should have been incremented from previous state, and should be equal",
Test: test.Eventually(func() error {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test/elasticsearch/steps_mutation.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (b Builder) MutationTestSteps(k *test.K8sClient) test.StepList {
WithSteps(b.CheckStackTestSteps(k)).
WithSteps(test.StepList{
CompareClusterUUIDStep(b.Elasticsearch, k, &clusterIDBeforeMutation),
CompareClusterGenerations(b.Elasticsearch, k, &clusterGenerationBeforeMutation, &clusterObservedGenerationBeforeMutation),
CompareClusterGenerationsStep(b.Elasticsearch, k, &clusterGenerationBeforeMutation, &clusterObservedGenerationBeforeMutation),
masterChangeBudgetWatcher.StopStep(k),
changeBudgetWatcher.StopStep(k),
test.Step{
Expand Down

0 comments on commit fd11076

Please sign in to comment.