tobexyz / yaacc-code

YAACC - UPNP Client and Server
Other
108 stars 14 forks source link

Test fails: subscriptionLifecycleNotifyBeforeResponse FAILED #55

Closed cweiske closed 1 year ago

cweiske commented 1 year ago

When running "gradlew build" on commit 326d8b0 I get an error:

> Task :yaacc:testReleaseUnitTest

org.fourthline.cling.test.gena.OutgoingSubscriptionLifecycleTest > subscriptionLifecycleNotifyBeforeResponse FAILED
    java.lang.AssertionError at OutgoingSubscriptionLifecycleTest.java:308

380 tests completed, 1 failed

This was after updating git from the fixes_and_versions branch to master. When running "gradlew build" again this error does not appear again.

tobexyz commented 1 year ago

seems to be a problem in the timing of the threads within the test. I don't have a full understanding of the problem yet but I was able to reproduce the problem. Sadly only once so it is hard to debug...

tobexyz commented 1 year ago

I never saw this problem again while building the app. I'll close this issue now. We can reopen it, if the problem occurs more often