-
Notifications
You must be signed in to change notification settings - Fork 123
CSPL-1235: Manual poll for app framework Automation #480
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
Conversation
b01591f
to
6775157
Compare
6775157
to
8baef48
Compare
8baef48
to
38d08bd
Compare
The changes look good to me. |
We have ticket CSPL-1248 to look into those cases and another follow-up JIRA to automate the same |
return stdout, nil | ||
} | ||
|
||
// GetConfigMap Gets the config map for a given k8 config map name |
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.
Just checking. This copy of file from MC branch ?
}) | ||
|
||
Context("Single Site Indexer Cluster with SHC (C3) with App Framework", func() { | ||
It("appfwint, c3, appframework: can deploy a C3 SVA with App Framework enabled for manual update", func() { |
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 appfwint
be replaced with integration
? cc: @pdhanoyasplunk
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.
Thanks for catching it. Yes we should replace it with integration
.
}) | ||
|
||
Context("Multi Site Indexer Cluster with SHC (m4) with App Framework", func() { | ||
It("m4, appframework: can deploy a M4 SVA with App Framework enabled for manual poll", func() { |
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.
Add integration
keyword.
}) | ||
|
||
Context("appframework Standalone deployment (S1) with App Framework", func() { | ||
It("appfwint, s1, appframework: can deploy a standalone instance with App Framework enabled for manual poll", func() { |
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.
Remove appfwint
and add integration
keyword
38d08bd
to
231a922
Compare
231a922
to
688fb66
Compare
688fb66
to
a96c6cd
Compare
} | ||
|
||
// GeneratePodNameSlice returns slice of PodNames based on given key and count. | ||
func GeneratePodNameSlice(formatString string, key string, count int, multisite bool, siteCount int) []string { |
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.
Doesn't look like this is being used..meant for future? Any idea @pdhanoyasplunk or @jambrosiano ?
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.
This file is brought in from MC feature branch where this method is used.
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.
As discussed, this will cause a conflict in one of the feature branches when the first one gets merged to develop. Will merge this for now, but in the future request is to add common functions to develop and pull them into the feature branches to avoid additional conflict resolution work
cc: @kashok-splunk , @sgontla , @gaurav-splunk
Added test cases for S1, C3, M4 with manual poll
Test Scenario:
Successful Run: