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

Unit tests may fail due to modified preferences #96

Open
jwt388 opened this issue Jan 12, 2024 · 1 comment
Open

Unit tests may fail due to modified preferences #96

jwt388 opened this issue Jan 12, 2024 · 1 comment
Assignees

Comments

@jwt388
Copy link
Contributor

jwt388 commented Jan 12, 2024

The expected results of the arm unit tests are based on default preference values. One of the preferences is changed in the arm subsystem test. It is also possible that preferences changed in simulation mode will cause test failures. Since the order that the unit tests are run isn't known or fixed, the behavior may be different at different times.

@jwt388 jwt388 self-assigned this Jan 12, 2024
@jwt388
Copy link
Contributor Author

jwt388 commented Jan 12, 2024

Added function to reset preferences which is called before each test. Also moved log preferences function into a utility class with the reset to start consolidation of preference handling functions. Removed test steps that try to modify preferences since this is unpredictable with tests running in parallel. Increased time for arm settling based on using default Kp.

jwt388 added a commit that referenced this issue Jan 12, 2024
jwt388 added a commit that referenced this issue Jan 19, 2024
jwt388 added a commit that referenced this issue Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant