Skip to content

Commit

Permalink
Fix pv name in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich committed Oct 14, 2020
1 parent 67634a8 commit fca5930
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/resume-e2e-experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func main() {
log.Fatalf("Suggestion persistent volume claim is not alive while ResumePolicy = %v, error: %v", experimentsv1beta1.FromVolume, err)
}

namespacedName = types.NamespacedName{Name: controllerUtil.GetSuggestionPersistentVolumeClaimName(sug)}
namespacedName = types.NamespacedName{Name: controllerUtil.GetSuggestionPersistentVolumeName(sug)}
err = kclient.GetClient().Get(context.TODO(), namespacedName, &corev1.PersistentVolume{})
if err != nil {
log.Fatalf("Suggestion persistent volume is not alive while ResumePolicy = %v, error: %v", experimentsv1beta1.FromVolume, err)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/run-e2e-experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func main() {
log.Fatalf("Suggestion persistent volume claim is not alive while ResumePolicy = %v, error: %v", experimentsv1beta1.FromVolume, err)
}

namespacedName = types.NamespacedName{Name: controllerUtil.GetSuggestionPersistentVolumeClaimName(sug)}
namespacedName = types.NamespacedName{Name: controllerUtil.GetSuggestionPersistentVolumeName(sug)}
err = kclient.GetClient().Get(context.TODO(), namespacedName, &corev1.PersistentVolume{})
if err != nil {
log.Fatalf("Suggestion persistent volume is not alive while ResumePolicy = %v, error: %v", experimentsv1beta1.FromVolume, err)
Expand Down

0 comments on commit fca5930

Please sign in to comment.