Skip to content

Conversation

flamingbear
Copy link
Member

@flamingbear flamingbear commented Oct 20, 2025

Jira Issue ID

precursor to DAS-2431

Local Test Steps

Pull this branch and run the tests.

❯ ./bin/build-image && ./bin/build-test && ./bin/run-test

Verify tests run. And you have output in your hoss/coverage and hoss/test-reports directories.

Delete those directories for the next step.

Bonus points, you can build a local environment with

❯ conda create -y --name hoss --file conda_requirements.txt python=3.12 -q --channel conda-forge --override-channels

Then install the dependencies from pip_requirements.txt and tests/pip_test_requirements.txt

run the tests directly from the root (outside of docker)

./test/run_tests.sh

They should all pass again and you have output in your hoss/coverage and hoss/test-reports directories.

PR Acceptance Checklist

  • Jira ticket acceptance criteria met.
  • CHANGELOG.md updated to include high level summary of PR changes.
  • docker/service_version.txt updated if publishing a release.
  • Tests added/updated and passing.
  • Documentation updated (if needed).

You can now run the tests in docker or in your local environment.
ARM vs AMD will not affect the outputs at the test level.
This was modifying the test and it could only be run one time before
generating errors.
This just uses pytest-cov to generate coverage and relocates the output to the
same place whether you run from docker or the commandline.
@flamingbear flamingbear changed the title DAS-2431: Updates tests to be architecture independent. DAS-2431: HOSS handles unbounded time requests. Oct 20, 2025
@flamingbear flamingbear changed the title DAS-2431: HOSS handles unbounded time requests. DAS-2431: HOSS can be tested across architectures, locally and in docker. Artifacts are captured. Oct 20, 2025
@flamingbear flamingbear changed the title DAS-2431: HOSS can be tested across architectures, locally and in docker. Artifacts are captured. DAS-2431: HOSS tests locally and in docker, artifacts are captured Oct 20, 2025
@flamingbear flamingbear deleted the mhs/DAS-2431/handle-unbounded-timerange branch October 20, 2025 23:12
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

Successfully merging this pull request may close these issues.

1 participant