From b13eba3b0ab06ebd107dacdda6cb58bbfda266ab Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Thu, 18 Apr 2024 17:08:04 +0200 Subject: [PATCH] add meaningful test for provider oauth2 Signed-off-by: Marc 'risson' Schmitt --- tests/benchmark/fixtures.py | 5 +---- tests/benchmark/provider_oauth2.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/benchmark/fixtures.py b/tests/benchmark/fixtures.py index 67397d9367..6a53dd1cf9 100755 --- a/tests/benchmark/fixtures.py +++ b/tests/benchmark/fixtures.py @@ -176,19 +176,16 @@ def login(): def provider_oauth2(): tenants = [ # Number of user policies, group policies, expression policies + (2, 50, 2), (0, 0, 0), (10, 0, 0), (100, 0, 0), - (1000, 0, 0), (0, 10, 0), (0, 100, 0), - (0, 1000, 0), (0, 0, 10), (0, 0, 100), - (0, 0, 1000), (10, 10, 10), (100, 100, 100), - (1000, 1000, 1000), ] for tenant in tenants: diff --git a/tests/benchmark/provider_oauth2.js b/tests/benchmark/provider_oauth2.js index 6b8a2fc8cb..7d6918c97a 100644 --- a/tests/benchmark/provider_oauth2.js +++ b/tests/benchmark/provider_oauth2.js @@ -7,19 +7,16 @@ const host = __ENV.BENCH_HOST ? __ENV.BENCH_HOST : "localhost"; const VUs = __ENV.VUS ? __ENV.VUS : 8; const testcases = [ + [2, 50, 2], [0, 0, 0], [10, 0, 0], [100, 0, 0], - [1000, 0, 0], [0, 10, 0], [0, 100, 0], - [0, 1000, 0], [0, 0, 10], [0, 0, 100], - [0, 0, 1000], [10, 10, 10], [100, 100, 100], - [1000, 1000, 1000], ]; export const options = {