Skip to content

Integration tests: More test coverage for Argus & Colossus #4404

@Lezek123

Description

@Lezek123

Based on #4290, I investigated the current state of Colossus / Argus integration tests.

Currently, although we have some tests for Argus and Colossus CLIs, the tests of the actual APIs are practically non-existent, more specifically:

  • We have createAndUpdateChannel flow, but it passes regardless of whether the actual uploads were successful, because CLI only logs warnings in this case
  • We don't try to fetch the uploaded assets from the distributor node and don't test any other Colossus/Argus api endpoints

For minimum test coverage I suggest following changes:

  • CLI should use non-zero exit code in case there are any failed uploads
  • We should add tests for creating/updating a video through CLI (we only have such tests for channel now)
  • We should always try to fetch (from Argus) & verify all uploaded data in the CLI integration tests

┆Issue is synchronized with this Asana task by Unito

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions