-
Notifications
You must be signed in to change notification settings - Fork 123
Cspl 1056 #405
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
Cspl 1056 #405
Conversation
For the cases, we deploy Standalone first before MC. Do we also need sanity test to deploy MC first and then standalone? |
7a3bb24
to
5cc4423
Compare
test/testenv/mcutil.go
Outdated
mcConfigMapName := enterprise.GetSplunkMonitoringconsoleConfigMapName(deployment.GetName(), enterprise.SplunkMonitoringConsole) | ||
mcConfigMap, err := GetConfigMap(deployment, ns, mcConfigMapName) | ||
if err != nil { | ||
logf.Log.Error(err, "Failed to get MC Conig Map") |
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.
nit: "Failed to get MC Config Map"
test/testenv/mcutil.go
Outdated
|
||
// CheckPodNameInString checks for pod name in string | ||
func CheckPodNameInString(podName string, configString string) bool { | ||
logf.Log.Info("Check MC Config String has Pod configured", "MC CM String", configString, "POD String", podName) |
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.
Can we elaborate on this log? "MC CM String" is unclear
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.
Will do. This however common terminology we use internally but I do understand how this can be confusing.
|
||
Context("Deploy Monitoring Console", func() { | ||
It("smoke, monitoring_console: can deploy MC CR", func() { | ||
It("smoke, monitoring_console: can deploy MC CR adn", 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.
nit: adn?
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.
typo. Will fix.
5. Verify Monitoring Console Pod has correct peers in Peer List | ||
*/ | ||
|
||
// Deploy MC and wait for MC to be READY |
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.
nit: Isn't "wait for MC to be READY" part actually done on line 67?
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.
It supposed to be for the section from 62-67 however clearly its not clear I will modify
Covered as part of "smoke, monitoring_console: can deploy MC CR adn" |
00e0684
to
46ccb20
Compare
46ccb20
to
3bb549e
Compare
Automation for standalone instance with MC CRD: