[
https://issues.apache.org/jira/browse/OLINGO-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mibo resolved OLINGO-1351.
--------------------------
Resolution: Fixed
Fix Version/s: (Java) V4 4.6.0
Fixed with this commit [\[OLINGO-1351\] Fix Netty imports for OSGI and update
Netty
version|https://gitbox.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=2032581dc4b24bf0f0679bf5bcf7797ac2e5e201]
and see [Jenkins build:
olingo-odata4/1503|https://builds.apache.org/job/olingo-odata4/1503/].
> Failing build because of OSGi / Karaf tests
> -------------------------------------------
>
> Key: OLINGO-1351
> URL: https://issues.apache.org/jira/browse/OLINGO-1351
> Project: Olingo
> Issue Type: Bug
> Components: odata4-ext, odata4-osgi, odata4-server
> Reporter: mibo
> Assignee: mibo
> Priority: Minor
> Fix For: (Java) V4 4.6.0
>
>
> [Default build|https://builds.apache.org/job/olingo-odata4/] fails (since
> over one year) because of failing {{karaf-fit}}:
> https://builds.apache.org/job/olingo-odata4/1502/consoleText
> {quote}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.olingo.osgi.itests.BundlesTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.83 sec <<<
> FAILURE! - in org.apache.olingo.osgi.itests.BundlesTest
> test(org.apache.olingo.osgi.itests.BundlesTest) Time elapsed: 0.122 sec <<<
> FAILURE!
> java.lang.AssertionError: Bundle org.apache.olingo.odata-server-api should be
> started expected:<32> but was:<2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at
> org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123)
> at org.apache.olingo.osgi.itests.BundlesTest.test(BundlesTest.java:40)
> Running org.apache.olingo.osgi.itests.server.CarServiceTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.982 sec <<<
> FAILURE! - in org.apache.olingo.osgi.itests.server.CarServiceTest
> testServiceStarted(org.apache.olingo.osgi.itests.server.CarServiceTest) Time
> elapsed: 6.982 sec <<< FAILURE!
> java.lang.AssertionError: Bundle org.apache.olingo.odata-server-osgi-sample
> should be started expected:<32> but was:<2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at
> org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123)
> at
> org.apache.olingo.osgi.itests.server.CarServiceTest.testServiceStarted(CarServiceTest.java:52)
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)