Skip to content

Commit

Permalink
wrtc-lt/orch: Increase streaming duration
Browse files Browse the repository at this point in the history
VMs take longer to start
  • Loading branch information
victorges committed Nov 30, 2023
1 parent af0fdda commit 6eaddcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/webrtc-load-tester/roles/orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func waitTestFinished(ctx context.Context, streamID string, vmGroups []gcloud.VM

func streamerVMSpec(args loadTestArguments, streamKey string) gcloud.VMTemplateSpec {
// Stream for a little longer since viewers join slowly
additionalStreamDelay := args.Playback.DelayBetweenRegions * time.Duration(1+len(args.Playback.RegionViewersJSON))
additionalStreamDelay := args.Playback.DelayBetweenRegions*time.Duration(len(args.Playback.RegionViewersJSON)) + 3*time.Minute
duration := args.TestDuration + additionalStreamDelay

return gcloud.VMTemplateSpec{
Expand Down

0 comments on commit 6eaddcd

Please sign in to comment.