Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: enabled cephfs discovered #26

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/deployers/discoveredapps.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ func (d DiscoveredApps) Undeploy(ctx types.Context) error {
}

func (d DiscoveredApps) IsWorkloadSupported(w types.Workload) bool {
return w.GetName() != "Deploy-cephfs"
return true
}
5 changes: 3 additions & 2 deletions e2e/dractions/actionsdiscoveredapps.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func failoverRelocateDiscoveredApps(ctx types.Context, action ramen.DRAction, st
return err
}

if err := waitDRPCProgression(ctx, client, namespace, name, ramen.ProgressionWaitOnUserToCleanUp); err != nil {
if err := waitDRPCProgression(ctx, client, namespace, name, ramen.ProgressionWaitOnUserToCleanUp, true); err != nil {
return err
}

Expand All @@ -142,7 +142,8 @@ func failoverRelocateDiscoveredApps(ctx types.Context, action ramen.DRAction, st
return err
}

if err := waitDRPCPhase(ctx, client, namespace, name, state); err != nil {
if err = waitDRPCProgression(ctx, client, namespace, name, ramen.ProgressionCompleted, false); err != nil {

return err
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/dractions/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
ctx types.Context,
client client.Client,
namespace, name string,
progression ramen.ProgressionStatus,
progression ramen.ProgressionStatus, consistently bool

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (e2e)

missing ',' before newline in parameter list (typecheck)

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (e2e)

missing ',' before newline in parameter list (typecheck)

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Unit tests

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list

Check failure on line 172 in e2e/dractions/retry.go

View workflow job for this annotation

GitHub Actions / Check artifacts and operator deployment (1.29.1)

missing ',' before newline in parameter list
) error {
log := ctx.Logger()
startTime := time.Now()
Expand Down
Loading