From e18e3aa3b1b3b69c5e00dd98d1b0d1ef952c4d97 Mon Sep 17 00:00:00 2001 From: David Mackessy Date: Tue, 30 Jun 2026 14:30:25 +0100 Subject: [PATCH] perf: User new platform-perf DB with more user data for deletion handlers --- .github/workflows/performance-tests-scheduled.yml | 4 ++-- .../org/hisp/dhis/test/platform/UsersPerformanceTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/performance-tests-scheduled.yml b/.github/workflows/performance-tests-scheduled.yml index 195a7c81ed77..b4cf99d0fe67 100644 --- a/.github/workflows/performance-tests-scheduled.yml +++ b/.github/workflows/performance-tests-scheduled.yml @@ -40,7 +40,7 @@ jobs: SIMULATION_CLASS=org.hisp.dhis.test.platform.UsersPerformanceTest DB_DIR=dev DB_TYPE=platform-perf - DB_VERSION=44-2026-06-03 + DB_VERSION=44-2026-06-30 WARMUP=2 MVN_ARGS="-Diterations=10 -Dprofile=smoke" slack_webhook_secret: SLACK_WEBHOOK_PLATFORM_PERFORMANCE @@ -50,7 +50,7 @@ jobs: SIMULATION_CLASS=org.hisp.dhis.test.platform.UsersPerformanceTest DB_DIR=dev DB_TYPE=platform-perf - DB_VERSION=44-2026-06-03 + DB_VERSION=44-2026-06-30 MVN_ARGS=-Diterations=30 slack_webhook_secret: SLACK_WEBHOOK_PLATFORM_PERFORMANCE uses: ./.github/workflows/performance-tests.yml diff --git a/dhis-2/dhis-test-performance/src/test/java/org/hisp/dhis/test/platform/UsersPerformanceTest.java b/dhis-2/dhis-test-performance/src/test/java/org/hisp/dhis/test/platform/UsersPerformanceTest.java index c63f204cae0f..437d9df1749c 100644 --- a/dhis-2/dhis-test-performance/src/test/java/org/hisp/dhis/test/platform/UsersPerformanceTest.java +++ b/dhis-2/dhis-test-performance/src/test/java/org/hisp/dhis/test/platform/UsersPerformanceTest.java @@ -203,7 +203,7 @@ private record Thresholds(int p95, int max) {} Map.of(Profile.SMOKE, new Thresholds(150, 160), Profile.LOAD, new Thresholds(150, 300)); private static final Map DELETE_THRESH = - Map.of(Profile.SMOKE, new Thresholds(250, 260), Profile.LOAD, new Thresholds(250, 280)); + Map.of(Profile.SMOKE, new Thresholds(1000, 1000), Profile.LOAD, new Thresholds(1000, 1000)); // Timestamp-based offset so each run generates unique usernames private static final int RUN_OFFSET = (int) (System.currentTimeMillis() % 10_000_000);