Skip to content

Tests fail due to 404 errors from sample media URLs #1413

@xshthkr

Description

@xshthkr

Some tests are currently failing because the sample media URLs used in the tests return 404 Not Found errors.

Example: in downloader/downloader_test.go, bcy image tests:

URL:  "http://img5.bcyimg.com/coser/143767/post/c0j7x/0d713eb41a614053ac6a3b146914f6bc.jpg/w650",
URL:  "http://img9.bcyimg.com/coser/143767/post/c0j7x/d17e9b8587794d939a1363c5f715014b.jpg/w650",

And other bcy.net URLs.

This causes downstream packaging to disable tests when building lux, since they fail consistently due to unavailable resources.

Please consider either:

  • Replacing the dead URLs with working media samples
  • Hosting small sample files in a reliable location
  • Mocking HTTP requests in tests to remove the network dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions