Skip to content

Commit

Permalink
tests/metrics_reporter: skip if license undefined
Browse files Browse the repository at this point in the history
Signed-off-by: NyaliaLui <[email protected]>
(cherry picked from commit 2a176a5)
  • Loading branch information
NyaliaLui committed Aug 15, 2023
1 parent a4f4b51 commit 9aa20db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/rptest/tests/metrics_reporter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def _test_redpanda_metrics_reporting(self):
admin = Admin(self.redpanda)
license = sample_license()
if license is None:
self.logger.warn(
"REDPANDA_SAMPLE_LICENSE env var not found, ignoring license checks."
)
self.logger.info(
"Skipping test, REDPANDA_SAMPLE_LICENSE env var not found")
return

assert admin.put_license(
license).status_code == 200, "PUT License failed"
Expand Down

0 comments on commit 9aa20db

Please sign in to comment.