Skip to content

Commit

Permalink
Add a Scylla Manager integration E2E test for error propagation for i…
Browse files Browse the repository at this point in the history
…nvalid tasks
  • Loading branch information
rzetelskik committed May 21, 2024
1 parent c3910bd commit 204d9b8
Show file tree
Hide file tree
Showing 2 changed files with 365 additions and 55 deletions.
21 changes: 21 additions & 0 deletions test/e2e/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,27 @@ func (f *Framework) deleteNamespace(ctx context.Context, ns *corev1.Namespace) {
klog.InfoS("Namespace removed.", "Namespace", ns.Name)
}

func (f *Framework) GetObjectStorageType() ObjectStorageType {
return TestContext.ObjectStorageType
}

func (f *Framework) GetObjectStorageProvider() string {
switch TestContext.ObjectStorageType {
case ObjectStorageTypeGCS:
return "gcs"
default:
return ""
}
}

func (f *Framework) GetObjectStorageBucket() string {
return TestContext.ObjectStorageBucket
}

func (f *Framework) GetGCSServiceAccountKey() []byte {
return TestContext.GCSServiceAccountKey
}

func (f *Framework) beforeEach() {
f.setupNamespace(context.Background())
}
Expand Down
Loading

0 comments on commit 204d9b8

Please sign in to comment.