add meaningful test for provider oauth2
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
@ -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:
|
||||
|
@ -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 = {
|
||||
|
Reference in New Issue
Block a user