Skip to content

E2E Test scenario: B<>O Streaming workflow #2319

Open
@leszko

Description

@leszko

Create an E2E Test which covers the following scenario:

  1. Start and register Orchestrator
  2. Start Broadcaster
  3. Fund Deposit/Reserve
  4. Start a stream
  5. Check if the stream was transcoded
  6. Check that a ticket was received by Orchestrator
  7. Redeem the ticket
  8. Check that ticket was redeemed and ETH was paid
  9. Withdraw Fees and check that ETH is in the O's acount

In this work, we should focus on a few aspects:

  • We may either send the real video data or mock the video part. I suggest to send one real video segment via HTTP ingest
  • It may be hard (or impossible) to tweak maxTicketEV and ticketEV, so that we're certain to receive a winning ticket, therefore we may need to set winProb directly in the code (white-box testing approach)
  • If this scenario becomes too long, we can consider splitting it into a few scenarios (e.g. one for sending stream, one for redeeming ticket, one for withdrawing fees)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions