Skip to content

Commit

Permalink
Add some logging to allow debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Garnsey committed Dec 12, 2023
1 parent acad7d2 commit e8ec487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/medusa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ func verifyRestoreJobFinished(t *testing.T, ctx context.Context, f *framework.E2
err := f.Get(ctx, framework.NewClusterKey(restoreClusterKey.K8sContext, restoreClusterKey.Namespace, "cass-superuser"), secret)
if err != nil {
t.Log(err)
secretList := &corev1.SecretList{}
f.List(ctx, framework.NewClusterKey(restoreClusterKey.K8sContext, restoreClusterKey.Namespace, "cass-superuser"), secretList)

Check failure on line 206 in test/e2e/medusa_test.go

View workflow job for this annotation

GitHub Actions / Run unit/integration tests

Error return value of `f.List` is not checked (errcheck)
t.Log(secretList.Items)
return false
}
_, exists := secret.Annotations[k8ssandraapi.RefreshAnnotation]
Expand Down

0 comments on commit e8ec487

Please sign in to comment.