[jitsi-dev] [jicofo] Jicofo unit test cases fails


#1

Hi,
Jicofo junit test cases fails i ,junit names as below
1) testOneToOneConference
2)testOneToOneSSRCGroupsConference
3)testBundle
4)testPassModeratorRole
In the following junit testcase errors occur in the Tag 148 (https://github.com/jitsi/jicofo/releases/tag/148)
<testcase classname="org.jitsi.jicofo.AdvertiseSSRCsTest" name="testOneToOneConference" time="0.066"> <error type="java.lang.NullPointerException">java.lang.NullPointerException at org.jitsi.jicofo.JitsiMeetConference.onMemberJoined(JitsiMeetConference.java:465) at org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged(ChatRoomRoleAndPresence.java:186) at mock.muc.MockMultiUserChat.fireMemberPresenceEvent(MockMultiUserChat.java:602) at mock.muc.MockMultiUserChat.mockJoin(MockMultiUserChat.java:174) at mock.MockParticipant.join(MockParticipant.java:165) at org.jitsi.jicofo.AdvertiseSSRCsTest.testOneToOneConference(AdvertiseSSRCsTest.java:90)</error> </testcase> <testcase classname="org.jitsi.jicofo.AdvertiseSSRCsTest" name="testOneToOneSSRCGroupsConference" time="0.003"> <error type="java.lang.NullPointerException">java.lang.NullPointerException at org.jitsi.jicofo.JitsiMeetConference.onMemberJoined(JitsiMeetConference.java:465) at org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged(ChatRoomRoleAndPresence.java:186) at mock.muc.MockMultiUserChat.fireMemberPresenceEvent(MockMultiUserChat.java:602) at mock.muc.MockMultiUserChat.mockJoin(MockMultiUserChat.java:174) at mock.MockParticipant.join(MockParticipant.java:165) at org.jitsi.jicofo.AdvertiseSSRCsTest.testOneToOneSSRCGroupsConference(AdvertiseSSRCsTest.java:175)</error> </testcase> <testcase classname="org.jitsi.jicofo.BundleTest" name="testBundle" time="0.001"> <error type="java.lang.NullPointerException">java.lang.NullPointerException at mock.util.TestConference.allocateMockConference(TestConference.java:73) at org.jitsi.jicofo.BundleTest.testBundle(BundleTest.java:81)</error> </testcase> <testcase classname="org.jitsi.jicofo.RolesTest" name="testPassModeratorRole" time="0.001"> <error type="java.lang.NullPointerException">java.lang.NullPointerException at mock.util.TestConference.allocateMockConference(TestConference.java:73) at org.jitsi.jicofo.RolesTest.testPassModeratorRole(RolesTest.java:73)</error> </testcase>
could you please update the reason of the errors in details . Why the Participant_id and the mock_jvb service returns null?
In the current version the following test cases failsTests in error: AdvertiseSSRCsTest.testOneToOneConference:94 » Runtime User1 - wait for invite... AdvertiseSSRCsTest.testOneToOneSSRCGroupsConference:175 » Runtime User1 - wait... BundleTest.testBundle:96 » Runtime user1 - wait for invite timeout RolesTest.testPassModeratorRole:88 » Runtime User0 - wait for invite timeout
why the participant not able to join in time ?

Thanks And Regards,
R Kannan