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

JUnit test testGraphIntegrity fails randomly #6

Open
logological opened this issue Sep 11, 2015 · 3 comments
Open

JUnit test testGraphIntegrity fails randomly #6

logological opened this issue Sep 11, 2015 · 3 comments

Comments

@logological
Copy link
Member

The JUnit test de.tudarmstadt.ukp.dkpro.lexsemresource.graph.EntityGraphJGraphTTest.testGraphIntegrity seems to occasionally fail when Jenkins runs it, even though no corresponding code has changed. (For example, in Build 36 the test passed, but in Build 37, where the only change was to add a .gitignore file to the repository, the test failed. The assertion fails as follows:

Error Message

expected:<17> but was:<16>

Stacktrace

java.lang.AssertionError: expected:<17> but was:<16>
    at org.junit.Assert.fail(Assert.java:91)
    at org.junit.Assert.failNotEquals(Assert.java:645)
    at org.junit.Assert.assertEquals(Assert.java:126)
    at org.junit.Assert.assertEquals(Assert.java:470)
    at org.junit.Assert.assertEquals(Assert.java:454)
    at de.tudarmstadt.ukp.dkpro.lexsemresource.graph.EntityGraphJGraphTTest.testGraphIntegrity(EntityGraphJGraphTTest.java:75)

The test always seems to pass when run on my local machine.

@JaysanSai
Copy link

Hello logological,

I am wondering if you were able to overcome this issue. I am stuck with similar issue.

@logological
Copy link
Member Author

Sorry, I haven't had time to further investigate since posting this issue report.

@logological
Copy link
Member Author

Problem is still occurring in the latest builds (compare Builds 51 and 52).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants