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

Cloud migration test #1145

Open
wants to merge 13 commits into
base: sprint-1.19
Choose a base branch
from
Open

Cloud migration test #1145

wants to merge 13 commits into from

Conversation

pewssh
Copy link
Collaborator

@pewssh pewssh commented Jan 12, 2025

*Updated system test for cloud migration test cases with some refactoring

** Included test cases for following cloud services

Microsoft OneDrive
Google Cloud Storage
Google Drive
Dropbox
Micrsoft Azure

Copy link
Collaborator

@Jayashsatolia403 Jayashsatolia403 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check comments.

"wd": "0chainmigration",
}))

require.Contains(t, strings.Join(output, "\n"), "Migration completed successfully", "Output was not as expected", strings.Join(output, "\n"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please verify by list files and folders to make sure it is actually successful.

"connection-string": "'" + connectionString + "'",
}))

require.Contains(t, strings.Join(output, "\n"), "Migration completed successfully", "Output was not as expected", strings.Join(output, "\n"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please verify by list files and folders to make sure it is actually successful.

"skip": 1,
}))

require.Contains(t, strings.Join(output, "\n"), "Migration completed successfully", "Output was not as expected", strings.Join(output, "\n"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please verify by list files and folders to make sure it is actually successful.

"github.com/stretchr/testify/require"
)

func Test0GoogleCloudStorage(testSetup *testing.T) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests for nested folders and multiple folders in single folder. Do the same for azue and onedrive as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants