Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Resolved: (DIRSERVER-1456) build error: JUnit test failure on SchemaLdifExtractorTest

Resolved: (DIRSERVER-1286) Windows service always created with default installation path
(8 lines)
Resolved: (DIRSERVER-1116) apacheds-protocol-dhcp-1.5.1.jar is missing in Windows Intaller 1.5.1
(8 lines)
Jun 1, 2010
Pierre-Arnaud Marcelot (JIRA)
Pierre-Arnaud Marcelot (JIRA)
     [
https://issues.apache.org/jira/browse...nels:all-tabpanel
]

Pierre-Arnaud Marcelot resolved DIRSERVER-1456.

Reply
Tags: resolvedmarcelot
Similar Threads
Created: (DERBY-4747) ttestSetPortPriority junit test failing in tinderbox runs with junit.framework
ttestSetPortPriority junit test failing in tinderbox runs with
junit.framework.AssertionFailedError: Port 1537 exceeeds expected maximum.

iPOJO OSGi Junit Runner error, no junit command
I'm trying to get the iPOJO OSGi Junit Runner to work.  When I start the
bundle I get the following messages to the log:

LS: Scheduling task ManagedServiceFactory Update:
factoryPid=org.apache.felix.ipojo.junit4osgi.impl.JunitExtender
LS: Running task ManagedServiceFactory Update:
factoryPid=org.apache.felix.ipojo.junit4osgi.impl.JunitExtender
LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : Cannot
create the proxy object
LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : The
onArrival method onBundleArrival has thrown an exception
LS: ServiceEvent REGISTERED
LS: ServiceEvent MODIFIED
LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender :
[org.apache.felix.ipojo.junit4osgi.impl.JunitExtender-0] The callback
method
starting has thrown an exception : null
LS: ServiceEvent UNREGISTERING
LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : The
onDeparture method onBundleDeparture has thrown an exception

I assume the message means the JunitExtender.onBundleArrival and
JunitExtender.onBundleDeparture have thrown an exception and this is why
things aren't working, but don't know why (what's the exception?).

The odd thing is I can get this to work on my Windows environment, but
this
problem is happening on my target environment (Linux, ARM)


Created: (GERONIMO-5475) daytrader build failure with unapproved license error
daytrader build failure with unapproved license error

Created: (DERBY-4726) Investigate updating Junit version required for Derby build and test
Investigate updating Junit version required for Derby build and test

How to test a junit test case against multiple value of a property
Hi All, 

I've got a class whose behavior changes based on a boolean property. This
property is read in the static block of the class. Is there a way to write
test JUnit testcase that can verify the behavior of the class for both the
values of this property? If I specify the value in build.xml, I can test
my
code for only one value of the property. 

How can I test on multiple value of a property ? 

 Thanks 
~Shailja 



Unable to inject @context from junit test case
Hi,

I am working on a API to expose service using CXF. The strange problem
facing here is, when we deploy as a web-app the UriInfo getting injected
and
everything is working fine.

When we run the Junit test cases, UriBuilder throws NullPointerException
as
the UriInfo holds null. It happens only when we keep the @Context UriInfo
in
an abstract class field or a bean property.

The unit test cases work fine when the UriInfo is been given as a method
param to the APIs we expose.

In Junit test case, we are instantiating JAXRSServerFactoryBean and adding
the resource provider as the service interface. Please help getting
through
this issue.

Thanks,
SK




unit test failure
Hi,

I am attempting to build the C client on debian lenny.

autoconf, configure, make and make install all appear to work cleanly.

I ran:

autoreconf -if
./configure
make
make install
make run-check

However, the unit tests fail:

$ make run-check
make  zktest-st zktest-mt
make[1]: Entering directory `/home/martin/zookeeper-3.3.1/src/c'
make[1]: `zktest-st' is up to date.
make[1]: `zktest-mt' is up to date.
make[1]: Leaving directory `/home/martin/zookeeper-3.3.1/src/c'
./zktest-st
./tests/zkServer.sh: line 52: kill: (17711) - No such process
 ZooKeeper server startedRunning
Zookeeper_operations::testPing : elapsed 1 : OK
Zookeeper_operations::testTimeoutCausedByWatches1 : elapsed 0 : OK
Zookeeper_operations::testTimeoutCausedByWatches2 : elapsed 0 : OK
Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : elapsed 2
:
OK
Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : elapsed 0
:
OK
Zookeeper_operations::testConcurrentOperations1 : elapsed 206 : OK
Zookeeper_init::testBasic : elapsed 0 : OK
Zookeeper_init::testAddressResolution : elapsed 0 : OK
Zookeeper_init::testMultipleAddressResolution : elapsed 0 : OK
Zookeeper_init::testNullAddressString : elapsed 0 : OK
Zookeeper_init::testEmptyAddressString : elapsed 0 : OK
Zookeeper_init::testOneSpaceAddressString : elapsed 0 : OK
Zookeeper_init::testTwoSpacesAddressString : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString1 : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString2 : elapsed 2 : OK
Zookeeper_init::testNonexistentHost : elapsed 108 : OK
Zookeeper_init::testOutOfMemory_init : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs1 : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs2 : elapsed 0 : OK
Zookeeper_init::testPermuteAddrsList : elapsed 0 : OK
Zookeeper_close::testCloseUnconnected : elapsed 0 : OK
Zookeeper_close::testCloseUnconnected1 : elapsed 0 : OK
Zookeeper_close::testCloseConnected1 : elapsed 0 : OK
Zookeeper_close::testCloseFromWatcher1 : elapsed 0 : OK
Zookeeper_simpleSystem::testAsyncWatcherAutoResetterminate called after
throwing an instance of 'CppUnit::Exception'
  what():  equality assertion failed
- Expected: -101
- Actual  : -4

make: *** [run-check] Aborted

This appears to come from tests/TestClient.cc - but beyond that, it is
hard
to identify which equality assertion failed.

Help !

regards,
Martin


Created: (DERBY-4689) Provide a JUnit test option to isolate client from server jars in a separate c
Provide a JUnit test option to isolate client from server jars in a
separate class loader to expose any dependencies that may exist

2.2.x Build failure
Hi

I'm seeing the following build failure on the 2.2.x branch, in
uncategorized
system tests :

[INFO] org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl
definition from :
file:/home/sberyozkin/work/cxf/2.2.x/systests/uncategorized/src/test/resources/wsdl_systest/soap_fault.wsdl
Caused by : WSDLException (at /definitions/types/s:schema):
faultCode=PARSER_ERROR: Problem parsing '
http://schemas.xmlsoap.org/soap/envelope/'.:
org.xml.sax.SAXParseException:
The declaration for the entity "ContentType" must end with '>'.


Is it only me ? Can someone try and build the 2.2.x ?

thanks, Sergey


Distribution build failure
Hi all ,
When I build distribution module I got this failure :

POM Location: /x1/code/cxf/trunk/distribution/pom.xml
Validation Messages:
    [0]  'dependencies.dependency.version' is missing for ant:ant
Reason: Failed to validate POM for project org.apache.cxf:apache-cxf
at /x1/code/cxf/trunk/distribution/pom.xml

The version of ant dependency is missing , this error is both in
distrubition/pom.xml and distrubition/manifest/pom.xml.
Do we use a wrong groupid ?  Can someone help me verify this ?

        <dependency>
            <groupId>ant</groupId>
            <artifactId>ant</artifactId>
        </dependency>

Thanks
Jim


Test Failure:mixin nodetype mix:simpleVersionable is missing
Hi,
$subject occurs in simple version test.This test failure says repository
does not support versioning

But I have set the following to true

OPTION_VERSIONING_SUPPORTED = true
OPTION_SIMPLE_VERSIONING_SUPPORTED = true

It will be really great if anyone can help me to solve this problem

Regards
/subash


Created: (MRM-1388) Test failure in ShowArtifactActionTest for certain locales
Test failure in ShowArtifactActionTest for certain locales

DO NOT REPLY Misleading error message on authz failure
https://issues.apache.org/bugzilla/show_bug.cgi?id=38322

--- Comment #5 from Nick Kew <ni### @webthing.com> 2010-07-04 22:51:26
EDT ---
Created an attachment (id=25698)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25698)
Less misleading/confusing error message

Attaching a trivial patch as a reference to propose it for future 2.2.x.