Skip to content

Commit

Permalink
Removing logging
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaa05 committed Oct 3, 2024
1 parent a7bf268 commit 27cd6a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"filename": "gen3-integration-tests/tests/test_oidc_client.py",
"hashed_secret": "62bd0c4d3a6b445b13212d23500a7f0916757c3e",
"is_verified": false,
"line_number": 140
"line_number": 139
}
],
"gen3-integration-tests/tests/test_presigned_url.py": [
Expand Down Expand Up @@ -363,5 +363,5 @@
}
]
},
"generated_at": "2024-10-03T14:51:02Z"
"generated_at": "2024-10-03T20:08:45Z"
}
1 change: 0 additions & 1 deletion gen3-integration-tests/tests/test_oidc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_oidc_client_expiration(self):

# running fence-delete-expired-clients job
logs_contents = gat.fence_delete_expired_clients()
logger.debug(f"Logs: {logs_contents}")

# assertion from logs
assert (
Expand Down
4 changes: 1 addition & 3 deletions gen3-integration-tests/utils/gen3_admin_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ def fence_delete_expired_clients():
timeout=10,
)
if not delete_explired_client_result.returncode == 0:
raise Exception(
f"Unable to delete expired clients. Response: {delete_explired_client_result.stderr.strip()}"
)
raise Exception("Unable to delete expired clients.")
return delete_explired_client_result.stdout.strip()


Expand Down

0 comments on commit 27cd6a2

Please sign in to comment.