Skip to content

Commit

Permalink
Merge branch 'main' into refactor_test_yum_group_install
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmulev authored Aug 7, 2024
2 parents bec2721 + 402c80f commit bd4d7ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_suite/package/test_awscli2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
class TestsAwsCli2:
@pytest.fixture(scope='module', autouse=True)
def import_aws_credentials(self, host):
token_duration = 900 # This is the minimum accepted value in seconds
# Generate temporary credentials for this test.
civ_local_command_to_run = 'aws sts get-session-token --duration-seconds 120 --output json'
civ_local_command_to_run = f'aws sts get-session-token --duration-seconds {token_duration} --output json'

result = host.backend.run_local(civ_local_command_to_run)
assert result.succeeded, \
Expand Down

0 comments on commit bd4d7ef

Please sign in to comment.