-
Notifications
You must be signed in to change notification settings - Fork 71
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
Testing: Update IsSUSE
and call to prepareSLES
.
#1720
Conversation
63aaa20
to
e59ebf7
Compare
integration_test/gce/gce_testing.go
Outdated
} | ||
|
||
func IsSUSE(vm_OS_ID string) bool { | ||
return vm_OS_ID == "opensuse" || vm_OS_ID == "opensuse-leap" || vm_OS_ID == "sles" || vm_OS_ID == "sles_sap" | ||
} | ||
|
||
func IsCentOS(imageSpec string) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we plan to change the rest of these functions in a subsequent PR? Or fold it into this one?
If we change them all to operate on the vm
instead of vm.ImageSpec
, we can clean them up one-by-one later…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> Should we plan to change the rest of these functions in a subsequent PR?
I think we should update the rest of the functions, but i do expect unforseen consequences (other failures), so i propose to do the other updates in a followup PR.
It looks like the soak test launcher test has a failure related to your change |
Yes, they were from my change. It was because i tried to call Most |
Most tests on 4f19034 passed, only |
Description
This PR attempts to update the uses of
IsSUSE
, calls toprepareSLES
and overall preparation requisites to run tests correctly on a SUSE VM.Additionally fixes the following error by calling
prepareSLES
when theImageSpec
isstackdriver-test-143416:sles-15-sp4-sap-saphana
which is a special case, which wasn't failing before when usingPlatform
:Related PRs :
opensuse-leap
to suse special handling in tests #1716Related issue
b/339815782
How has this been tested?
Checklist: