Skip to content
Open
Changes from 1 commit
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
13 changes: 11 additions & 2 deletions tests/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -7005,8 +7005,17 @@ func checkVcServicesHealthPostReboot(ctx context.Context, host string, timeout .
addr := ip + ":" + portNum

//list of default stopped services in VC
var defaultStoppedServicesList = []string{"vmcam", "vmware-imagebuilder", "vmware-netdumper",
"vmware-rbd-watchdog", "vmware-vcha"}
baseServices := []string{"vmcam", "vmware-imagebuilder", "vmware-netdumper", "vmware-rbd-watchdog", "vmware-vcha"}

var defaultStoppedServicesList []string

if isVersionGreaterOrEqual(getVCversion(ctx, vcAddress), batchAttachSupportedVCVersion) {
// Combine the new services with the base ones
defaultStoppedServicesList = append([]string{"liagent", "vc-salt"}, baseServices...)
} else {
defaultStoppedServicesList = baseServices
}

waitErr := wait.PollUntilContextTimeout(ctx, pollTimeoutShort, pollTime, true,
func(ctx context.Context) (bool, error) {
var pendingServiceslist []string
Expand Down