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 coding error in ReadMeterEntry() #318

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Fix coding error in ReadMeterEntry() #318

merged 2 commits into from
Nov 13, 2024

Conversation

ffoulkes
Copy link
Collaborator

@ffoulkes ffoulkes commented Nov 9, 2024

  • The ReadSingleIndirectMeterEntryTest test case failed because ReadMeterEntry() was calling FindResourceTypeByID() with the table_id instead of meter_entry.meter_id(). Corrected this, and the test case passes.

  • Reenabled the ReadSingleIndirectMeterEntryTest test case.

This PR addresses issue #315.

- The ReadSingleIndirectMeterEntryTest test case failed because
  ReadMeterEntry() was calling FindResourceTypeByID() with the
  table_id instead of meter_entry.meter_id(). Corrected this,
  and the test case passes.

- Reenabled the ReadSingleIndirectMeterEntryTest test case.

Signed-off-by: Derek Foster <derek.foster@intel.com>
@ffoulkes ffoulkes linked an issue Nov 9, 2024 that may be closed by this pull request
@ffoulkes ffoulkes added bug Something isn't working tests Affects unit tests labels Nov 9, 2024
Copy link
Collaborator

@5abeel 5abeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ffoulkes ffoulkes merged commit 8769b45 into split-arch Nov 13, 2024
5 checks passed
@ffoulkes ffoulkes deleted the read-meter-entry branch November 13, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Affects unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReadSingleIndirectMeterEntryTest test case failure
2 participants