add meaningful test for provider oauth2

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2024-04-18 17:08:04 +02:00
parent 77fe4e9fe2
commit b13eba3b0a
2 changed files with 2 additions and 8 deletions

View File

@ -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:

View File

@ -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 = {