Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4354

[Core R5] ResolverHookTests OSGi CT test failures

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: framework-4.4.0
    • Component/s: Framework
    • Labels:
      None

      Description

      Of the OSGi CT ResolverHookTests, 2 tests are failing

      org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests
      testHookErrors01(org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests)
      junit.framework.AssertionFailedError: Wrong number of end called expected:<3> but was:<0>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:280)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:198)
      at org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests.checkTestResolverHookError(ResolverHookTests.java:380)
      at org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests.testHookErrors01(ResolverHookTests.java:197)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at aQute.junit.Activator.test(Activator.java:226)
      at aQute.junit.Activator.automatic(Activator.java:118)
      at aQute.junit.Activator.run(Activator.java:59)

      testHookErrors02(org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests)
      junit.framework.AssertionFailedError: Wrong number of end called expected:<2> but was:<3>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:280)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:198)
      at org.osgi.test.cases.framework.junit.hooks.resolver.ResolverHookTests.testHookErrors02(ResolverHookTests.java:365)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at aQute.junit.Activator.test(Activator.java:226)
      at aQute.junit.Activator.automatic(Activator.java:118)
      at aQute.junit.Activator.run(Activator.java:59)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bosschaert David Bosschaert
                Reporter:
                bosschaert David Bosschaert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: