Skip to content

Commit

Permalink
fix: skip basic auth for rhc+satellite
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangqq-coder authored and jirihnidek committed Sep 24, 2024
1 parent 5023890 commit 0a21801
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration-tests/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def test_connect(external_candlepin, rhc, test_config, auth):
"""Test if RHC can connect to CRC using basic auth and activation key,
Also verify that yggdrasil/rhcd service is in active state afterward.
"""
# rhc+satellite does not support basic auth for now
# refer: https://issues.redhat.com/browse/RHEL-53436
if "satellite" in test_config.environment and auth == "basic":
pytest.skip("rhc+satellite only support activation key registration now")
with contextlib.suppress(Exception):
rhc.disconnect()
command_args = prepare_args_for_connect(test_config, auth=auth)
Expand Down

0 comments on commit 0a21801

Please sign in to comment.