Skip to content

Failed

org.appng.application.manager.business.LdapUsersTest.testUsers

Failing for the past 3 builds (Since Failed#1052 )
Took 72 ms.

Error Message

XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
    <config>
        <title id="ldap.users">LDAP Users</title>
        <params/>
        <meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
            <field name="name" type="text" binding="name">
                <label id="name">Name</label>
            </field>
            <field name="realname" type="text" binding="realname">
                <label id="realname">Real name</label>
            </field>
            <field name="type" type="text" binding="type">
                <label id="type">Type</label>
            </field>
            <field name="dn" type="text" displayLength="80" binding="dn">
                <label id="distinguishedName">Distinguished Name</label>
            </field>
        </meta-data>
    </config>
    <messages ref="ldapUsers">
        <message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message>
    </messages>
    <data>
        <resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
    </data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]

Stacktrace

junit.framework.AssertionFailedError: 
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
    <config>
        <title id="ldap.users">LDAP Users</title>
        <params/>
        <meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
            <field name="name" type="text" binding="name">
                <label id="name">Name</label>
            </field>
            <field name="realname" type="text" binding="realname">
                <label id="realname">Real name</label>
            </field>
            <field name="type" type="text" binding="type">
                <label id="type">Type</label>
            </field>
            <field name="dn" type="text" displayLength="80" binding="dn">
                <label id="distinguishedName">Distinguished Name</label>
            </field>
        </meta-data>
    </config>
    <messages ref="ldapUsers">
        <message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message>
    </messages>
    <data>
        <resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
    </data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]

	at org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:40)