File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ jobs:
277277 SIMDECK_E2E_MIN_PRESENTED_FPS : " 55"
278278 SIMDECK_E2E_MIN_RECEIVED_FPS : " 55"
279279 SIMDECK_E2E_WEBRTC_MS : " 20000"
280+ SIMDECK_INTEGRATION_DEVICE_TYPE : iPhone SE (3rd generation)
280281
281282 integration-android :
282283 name : Android emulator integration
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const maxPeerDisconnectedMs = Number(
3131const streamReadyTimeoutMs = Number (
3232 process . env . SIMDECK_E2E_STREAM_READY_MS ?? 90_000 ,
3333) ;
34+ const warmupMs = Number ( process . env . SIMDECK_E2E_WARMUP_MS ?? 0 ) ;
3435const maxDecoderDrops = Number ( process . env . SIMDECK_E2E_MAX_DECODER_DROPS ?? 0 ) ;
3536const minVideoWidth = Number ( process . env . SIMDECK_E2E_MIN_VIDEO_WIDTH ?? 0 ) ;
3637const minVideoHeight = Number ( process . env . SIMDECK_E2E_MIN_VIDEO_HEIGHT ?? 0 ) ;
@@ -515,6 +516,10 @@ try {
515516 ) ;
516517 }
517518
519+ if ( warmupMs > 0 ) {
520+ await sleep ( warmupMs ) ;
521+ }
522+
518523 const initialMetrics = await fetchJson ( endpoint ( "/api/metrics" ) ) ;
519524 const initialStreams = findClientStreams ( initialMetrics , clientId ) ;
520525 const initialPage = latestByKind ( initialStreams , "page" ) ?? { } ;
@@ -758,6 +763,7 @@ try {
758763 maxPeerDisconnectedObservedMs,
759764 maxInteractionLatencyMs,
760765 maxDecoderDrops,
766+ warmupMs,
761767 interactionsEnabled,
762768 visualSamplesEnabled,
763769 interactionLatencies,
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ async function main() {
127127 SIMDECK_E2E_STREAM_READY_MS :
128128 process . env . SIMDECK_E2E_STREAM_READY_MS ?? "180000" ,
129129 SIMDECK_E2E_VISUAL_SAMPLE_INTERVAL_MS : "0" ,
130+ SIMDECK_E2E_WARMUP_MS : process . env . SIMDECK_E2E_WARMUP_MS ?? "2000" ,
130131 } ,
131132 ) ;
132133}
You can’t perform that action at this time.
0 commit comments