Skip to content

Commit

Permalink
re-add quick check for alternative engineering database test (#7780)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Aug 16, 2023
1 parent e66f365 commit c86ff0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ datamodels

- Remove ``jwst.datamodels.schema`` in favor of ``stdatamodels.schema`` [#7660]

engdb_tools
-----------

- Check alternative host is alive before attempting to run test for
access to avoid waiting the full timeout during test runs [#7780]

flat_field
----------

Expand Down
4 changes: 4 additions & 0 deletions jwst/lib/tests/test_engdb_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def engdb():
yield engdb


@pytest.mark.skipif(
not is_alive(ALTERNATE_HOST),
reason='Alternate test host not available.'
)
def test_environmental(jail_environ):
os.environ['ENG_BASE_URL'] = ALTERNATE_URL
try:
Expand Down

0 comments on commit c86ff0e

Please sign in to comment.