Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running unit tests in release mode fails when not official build #4342

Closed
bsclifton opened this issue May 8, 2019 · 0 comments · Fixed by brave/brave-core#2385
Closed

Running unit tests in release mode fails when not official build #4342

bsclifton opened this issue May 8, 2019 · 0 comments · Fixed by brave/brave-core#2385

Comments

@bsclifton
Copy link
Member

Description

When building from source, specifically a release build with official_build=false, there are two test failures:

2 tests failed:
    MediaYouTubeTest.GetChannelUrl (../../brave/vendor/bat-native-ledger/src/bat/ledger/internal/media/youtube_unittest.cc:498)
    MediaYouTubeTest.GetVideoUrl (../../brave/vendor/bat-native-ledger/src/bat/ledger/internal/media/youtube_unittest.cc:466)

Problem introduced in brave/brave-core#2167, meaning it occurs in master/0.66.x/0.65.x

Steps to Reproduce

  1. Clone brave-browser
  2. npm run init -- --all && npm run build -- Release --official_build=false
  3. npm test brave_unit_tests -- Release

Actual result:

Errors

Expected result:

Tests should pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment