File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1- name : Client e2e performance tests (mocked backend)
1+ name : Client e2e performance tests
2+
3+ permissions :
4+ checks : write
25
36on :
47 schedule :
3134
3235jobs :
3336 test :
37+ name : ' Performance tests'
3438 runs-on : tools-gha-runners-perf
3539 timeout-minutes : 120
3640 steps :
@@ -51,14 +55,23 @@ jobs:
5155 env :
5256 NEPTUNE_PERFORMANCE_LOG_FILE : " test-results/test-client-e2e-performance.log"
5357 NEPTUNE_PERFORMANCE_TEST_MODE : ${{ inputs.test_mode || 'normal' }}
58+ NEPTUNE_PERFORMANCE_TEST_TOLERANCE_FACTOR : 1.1
5459 run : |
55- pytest --junitxml="test-results/test-client-e2e-performance.xml" --log-cli-level=INFO --durations=0 tests/performance
60+ taskset -c 2 pytest --junitxml="test-results/test-client-e2e-performance.xml" --log-cli-level=INFO --durations=0 tests/performance
61+
62+ - uses : actions/upload-artifact@v4
63+ with :
64+ name : test-client-e2e-performance.log
65+ path : test-results/test-client-e2e-performance.log
5666
5767 - name : Report
5868 uses : mikepenz/action-junit-report@v5
5969 if : always()
6070 with :
61- report_paths : " ./test-results/test-client-e2e-performance*.xml"
62- update_check : true
63- annotate_notice : true
64- job_name : " Client e2e performance tests"
71+ check_name : ' Performance tests report'
72+ report_paths : " ./test-results/test-client-e2e-performance.xml"
73+ detailed_summary : true
74+ verbose_summary : true
75+ include_passed : true
76+ include_time_in_summary : true
77+ resolve_ignore_classname : true
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def resolve_timeout(default_seconds: float) -> float:
235235 if test_mode == "baseline_discovery" :
236236 return 3_600.0 # 1 hour for baseline discovery
237237
238- tolerance = os .environ .get ("NEPTUNE_PERFORMANCE_TEST_TOLERANCE_FACTOR" , 1.1 )
238+ tolerance = float ( os .environ .get ("NEPTUNE_PERFORMANCE_TEST_TOLERANCE_FACTOR" , 1.1 ) )
239239
240240 return default_seconds * tolerance
241241
You can’t perform that action at this time.
0 commit comments