Skip to content

Commit

Permalink
added xfail message
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Dec 17, 2024
1 parent 8f2ccc7 commit 612c0c9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/system_tests/test_blueapi_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,16 @@ def test_get_current_state_of_environment(client: BlueapiClient):
assert client.get_environment() == EnvironmentResponse(initialized=True)


@disable_side_effects
@pytest.xfail(
reason="""
client.reload_environment does not currently wait for the environment to fully
reload This causes the test to fail intermittently.
More details can be found in the related issue: https://github.com/DiamondLightSource/blueapi/issues/742.
"""
)
def test_delete_current_environment(client: BlueapiClient):
client.reload_environment()

# This should be removed after this issue is resolved https://github.com/DiamondLightSource/blueapi/issues/742
time.sleep(1)

@backoff.on_predicate(
Expand Down

0 comments on commit 612c0c9

Please sign in to comment.