loklak / loklak_server

Distributed Open Source twitter and social media message search server that anonymously collects, shares, dumps and indexes data http://api.loklak.org
GNU Lesser General Public License v2.1
1.38k stars 223 forks source link

YoutubeScraper test fails #1555

Closed singhpratyush closed 6 years ago

singhpratyush commented 6 years ago

Short description

Here is the log from build -

org.loklak.TestRunner > org.loklak.harvester.YoutubeScraperTest.parseFromInputStreamTest FAILED
    java.lang.AssertionError: 
    Expected: is "[\"Iggy Azalea - Team (Explicit) - YouTube\"]"
         but: was "[\"YouTube\"]"
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at org.loklak.harvester.YoutubeScraperTest.parseFromInputStreamTest(YoutubeScraperTest.java:39)

Environment

Steps to reproduce

  1. Get even with loklak:development.
  2. ./gradlew build -i
  3. Look at the logs

Expected behaviour

The test should pass.

Actual behaviour

Test fails.

S2606 commented 6 years ago

Claiming this.

vibhcool commented 6 years ago

@S2606 You may take up this issue:+1:

singhpratyush commented 6 years ago

@S2606: Any updates? Are you stuck somewhere?

S2606 commented 6 years ago

@singhpratyush Yes i am stuck as i coudnt really find where html_title data is generated.I have already searched in YoutubeScraper as well as in BaseScraper

vibhcool commented 6 years ago

@S2606 , hint: there is a addRDF method in youtubescraper, check it