ni / ni/nimi-python

Remove the empty resource name workaround in nidcpower self_cal system test

Open
#1,798 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nidcpower tech-debt test
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

Due to a bug in NI-DCPower driver runtime 2022 Q3 (Internal error AB#1973297), doing self_cal on a simulated session with a resource name that doesn't match real h/w present in the system returns an error.

To work around this bug, the self_cal system test passes an empty string for resource_name. Once the internal bug is fixed, the workaround should be removed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the nidcpower self_cal system test and inspect how it supplies resource_name. First confirm that the NI-DCPower runtime bug is fixed, then remove the empty-string workaround and run the affected system test to verify self_cal succeeds with the normal resource name.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.