-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix: skipped bookend ems whose key is node-name #1237
Conversation
integration/test/alert/alert.go
Outdated
addr, user, pass := GetPollerDetail() | ||
url := "https://" + addr + "/api/private/cli/event/generate" | ||
method := "POST" | ||
node_name := "umeng-aff300-06" |
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.
hard coding node_name doesn't seem correct. If node name in CI changes then would this test case fail?
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.
we have hardcoded cluster on which we do ems testing here. If the cluster would change in CI then yes, node also need to change.
May be I can move node name in GetPollerDetail function, where addr, user, pass exist. So, all changes would be required in one place when cluster upgrade/change in CI.
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.
moved node-name to GetPollerDetail func.
Out of 14 bookend ems, 3 ems are node-scoped. So, when we do POST call of issuing ems and/or resolving ems we are not sure that given ems will be raised by ONTAP as due to node level.