From 5cb871ec6435b5dd61d8d1dd62e381a1b850589a Mon Sep 17 00:00:00 2001 From: Michael Boquard Date: Mon, 18 Nov 2024 08:29:39 -0500 Subject: [PATCH] license: Reduced evaluation period to 30 days Signed-off-by: Michael Boquard --- src/v/features/feature_table.cc | 2 +- tests/rptest/tests/rpk_cluster_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v/features/feature_table.cc b/src/v/features/feature_table.cc index 2d4f75c48ddcf..e8a0559d68ad9 100644 --- a/src/v/features/feature_table.cc +++ b/src/v/features/feature_table.cc @@ -307,7 +307,7 @@ namespace { security::license make_builtin_trial_license(security::license::clock::time_point start_time) { - auto expiry_time = start_time + std::chrono::days{45}; + auto expiry_time = start_time + std::chrono::days{30}; auto expiry = std::chrono::duration_cast( expiry_time.time_since_epoch()); diff --git a/tests/rptest/tests/rpk_cluster_test.py b/tests/rptest/tests/rpk_cluster_test.py index e5bef59399edb..2003c56681101 100644 --- a/tests/rptest/tests/rpk_cluster_test.py +++ b/tests/rptest/tests/rpk_cluster_test.py @@ -245,7 +245,7 @@ def test_upload_and_query_cluster_license_rpk(self): "Skipping test, REDPANDA_SAMPLE_LICENSE env var not found") return - evaluation_period = 3888000 # 45 days + evaluation_period = 2592000 # 30 days wait_until( lambda: self._get_license_expiry() <= evaluation_period, timeout_sec=10,