Skip to content
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

Merged
merged 5 commits into from
Sep 1, 2022
Merged

fix: skipped bookend ems whose key is node-name #1237

merged 5 commits into from
Sep 1, 2022

Conversation

Hardikl
Copy link
Contributor

@Hardikl Hardikl commented Aug 25, 2022

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.

@cla-bot cla-bot bot added the cla-signed label Aug 25, 2022
@Hardikl Hardikl changed the title ems_issue fix: skipped bookend ems whose key is node-name Aug 25, 2022
addr, user, pass := GetPollerDetail()
url := "https://" + addr + "/api/private/cli/event/generate"
method := "POST"
node_name := "umeng-aff300-06"
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

integration/test/bookend_ems_test.go Outdated Show resolved Hide resolved
@Hardikl Hardikl merged commit b6c0dd5 into main Sep 1, 2022
@Hardikl Hardikl deleted the ems_issue branch September 1, 2022 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants