Skip to content

Add system test for KPI integration in simulator workflow#175

Open
jarsarasty wants to merge 1 commit intomainfrom
system-test-for-KPI-simulator-integration
Open

Add system test for KPI integration in simulator workflow#175
jarsarasty wants to merge 1 commit intomainfrom
system-test-for-KPI-simulator-integration

Conversation

@jarsarasty
Copy link
Copy Markdown

@jarsarasty jarsarasty commented Mar 19, 2026

  • Add test__simulator__kpis_present_in_output asserting KPIs are present in instance[0].area after a full pipeline run, with CAPEX verified against the ESDL costInformation and system_lifetime exercised with a non-default value (25 years)
  • Add scripts/test_system_local.sh for running system tests with a locally built simulator-worker image via docker-compose.override.local.yml
  • Gitignore docker-compose.override.local.yml
  • Update docker-compose.yml to use simulator-worker 0.0.29beta2 (kpi-calculator integration)
  • Increase simulator test timeouts from 60s to 120s (100s to 160s for the delete test): KPI calculation runs after each simulation, adding ~30-60s per job

Depends on

@jarsarasty jarsarasty force-pushed the system-test-for-KPI-simulator-integration branch 2 times, most recently from 107ce00 to 9eccd6f Compare March 19, 2026 09:06
@jarsarasty jarsarasty force-pushed the system-test-for-KPI-simulator-integration branch from 9eccd6f to c0e145e Compare March 20, 2026 07:41
  - Add test__simulator__kpis_present_in_output asserting KPIs are present
    in instance[0].area after a full pipeline run, with CAPEX verified
    against the ESDL costInformation and system_lifetime exercised with a
    non-default value (25 years)
  - Add scripts/test_system_local.sh for running system tests with a locally
    built simulator-worker image via docker-compose.override.local.yml
  - Gitignore docker-compose.override.local.yml
  - Update docker-compose.yml to use simulator-worker 0.0.29beta2
    (kpi-calculator integration)
  - Exclude KPIs from snapshot comparison in existing simulator tests to
    avoid snapshot drift; KPI correctness is covered by the dedicated test
  - Increase simulator test timeouts from 60s to 120s (100s to 160s for
    delete test) to account for KPI calculation time added after simulation
@jarsarasty jarsarasty force-pushed the system-test-for-KPI-simulator-integration branch from c0e145e to 4a46805 Compare March 20, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant