There's a failure in the unit tests for samples/feed-aggregator. The test method testUnmodifiedGetIfUnModified() is failing because the get() response is returning 200, not 304. The build log is below.
Simon Running feed.FeedAggregatorTestCase >>>FeedAggregatorTest.init 09-Sep-2009 05:38:02 org.apache.tuscany.sca.node.impl.NodeImpl <init> INFO: Creating node: FeedAggregator.composite 09-Sep-2009 05:38:02 org.apache.tuscany.sca.node.impl.NodeImpl configureNode INFO: Loading contribution: file:/F:/tuscany88/sca-java-1.x/samples/feed-aggrega tor/target/classes/ 09-Sep-2009 05:38:02 org.apache.tuscany.sca.node.impl.NodeImpl start INFO: Starting node: FeedAggregator.composite 09-Sep-2009 05:38:03 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.14 09-Sep-2009 05:38:03 org.apache.catalina.startup.ContextConfig defaultWebConfig INFO: No default web.xml 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_1.xsd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_ 1.dtd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_ 2.dtd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_ 0.xsd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_ 1.xsd 09-Sep-2009 05:38:03 org.apache.catalina.startup.DigesterFactory register WARNING: Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xs d 09-Sep-2009 05:38:03 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8083 09-Sep-2009 05:38:03 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8083 09-Sep-2009 05:38:03 org.apache.tuscany.sca.http.tomcat.TomcatServer addServletM apping INFO: Added Servlet mapping: http://Angels:8083/rssAggregator/* 09-Sep-2009 05:38:03 org.apache.tuscany.sca.http.tomcat.TomcatServer addServletM apping INFO: Added Servlet mapping: http://Angels:8083/rssAggregator/ 09-Sep-2009 05:38:03 org.apache.tuscany.sca.http.tomcat.TomcatServer addServletM apping INFO: Added Servlet mapping: http://Angels:8083/atomAggregator/* 09-Sep-2009 05:38:03 org.apache.tuscany.sca.http.tomcat.TomcatServer addServletM apping INFO: Added Servlet mapping: http://Angels:8083/atomAggregator/ >>>FeedAggregatorTest.testFeedBasics FeedAggregatorTest.testFeedBasics full contentLength=373 FeedAggregatorTest.testFeedBasics number entries=0 >>>FeedAggregatorTest.testFeedUnmodifiedGetIfModified >>>FeedAggregatorTest.testFeedUnmodifiedGetIfUnModified >>>FeedAggregatorTest.destroy 09-Sep-2009 05:39:16 org.apache.tuscany.sca.node.impl.NodeImpl stop INFO: Stopping node: FeedAggregator.composite 09-Sep-2009 05:39:16 org.apache.tuscany.sca.http.tomcat.TomcatServer removeServl etMapping INFO: Removed Servlet mapping: http://localhost:8083/rssAggregator/* 09-Sep-2009 05:39:16 org.apache.tuscany.sca.http.tomcat.TomcatServer removeServl etMapping INFO: Removed Servlet mapping: http://localhost:8083/rssAggregator/ 09-Sep-2009 05:39:16 org.apache.tuscany.sca.http.tomcat.TomcatServer removeServl etMapping INFO: Removed Servlet mapping: http://localhost:8083/atomAggregator/* 09-Sep-2009 05:39:16 org.apache.tuscany.sca.http.tomcat.TomcatServer removeServl etMapping INFO: Removed Servlet mapping: http://localhost:8083/atomAggregator/ 09-Sep-2009 05:39:16 org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8083 Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 74.667 sec <<< F AILURE! testUnmodifiedGetIfUnModified(feed.FeedAggregatorTestCase) Time elapsed: 24.165 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<304> but was:<200> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:277) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at feed.FeedAggregatorTestCase.testUnmodifiedGetIfUnModified(FeedAggrega torTestCase.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework Method.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal lable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe thod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet hod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores. java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja va:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun ner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun ner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores. java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja va:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet. java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes tSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:308) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:879) Results : Failed tests: testUnmodifiedGetIfUnModified(feed.FeedAggregatorTestCase) Tests run: 4, Failures: 1, Errors: 0, Skipped: 0
