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

chore(acceptance): fix the issue 'HW_SFS_FILE_SYSTEM_NAMES' is empty #6105

Merged
merged 1 commit into from
Dec 27, 2024
Merged
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 huaweicloud/services/acceptance/acceptance.go
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ func TestAccPrecheckSFSTurboBackupId(t *testing.T) {
// lintignore:AT003
func TestAccPrecheckSfsFileSystemNames(t *testing.T, min int) {
// For this acceptance test, you should prepare three SFS file systems.
if len(strings.Split(HW_SFS_FILE_SYSTEM_NAMES, ",")) < min {
if HW_SFS_FILE_SYSTEM_NAMES == "" || len(strings.Split(HW_SFS_FILE_SYSTEM_NAMES, ",")) < min {
t.Skip("At least three file system name must be supported during the HW_SFS_FILE_SYSTEM_NAMES, and separated by commas")
}
}
Expand Down
Loading