Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: core
    • Labels:
      None

      Description

      Failed tests: joePublisherUpdateService_SMTP(org.apache.juddi.api.impl.API_090_SubscriptionListenerIntegrationTest): N
      otification does not contain the correct service

        Activity

        Hide
        kurtstam Kurt T Stam added a comment -

        Hi Alex,

        Does your build fail with this? It seems to work ok on my machine as well as on the build machines. Are you sure you have the latest code?

        --Kurt

        Show
        kurtstam Kurt T Stam added a comment - Hi Alex, Does your build fail with this? It seems to work ok on my machine as well as on the build machines. Are you sure you have the latest code? --Kurt
        Hide
        spyhunter99 Alex O'Ree added a comment -

        yes, latest checkout, svn update
        mvn clean install

        Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.036 sec <<< FAILURE!
        joePublisherUpdateService_SMTP(org.apache.juddi.api.impl.API_090_SubscriptionListenerIntegrationTest) Time elapsed: 4.7
        39 sec <<< FAILURE!
        java.lang.AssertionError: Notification does not contain the correct service
        at org.junit.Assert.fail(Assert.java:91)
        at org.apache.juddi.api.impl.API_090_SubscriptionListenerIntegrationTest.joePublisherUpdateService_SMTP(API_090_
        SubscriptionListenerIntegrationTest.java:173)
        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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.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.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        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 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

        Running org.apache.juddi.api.impl.API_091_RMISubscriptionListenerIntegrationTest
        Apr 22, 2013 5:51:17 PM org.apache.juddi.Registry start

        Show
        spyhunter99 Alex O'Ree added a comment - yes, latest checkout, svn update mvn clean install Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.036 sec <<< FAILURE! joePublisherUpdateService_SMTP(org.apache.juddi.api.impl.API_090_SubscriptionListenerIntegrationTest) Time elapsed: 4.7 39 sec <<< FAILURE! java.lang.AssertionError: Notification does not contain the correct service at org.junit.Assert.fail(Assert.java:91) at org.apache.juddi.api.impl.API_090_SubscriptionListenerIntegrationTest.joePublisherUpdateService_SMTP(API_090_ SubscriptionListenerIntegrationTest.java:173) 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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.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.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) 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 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Running org.apache.juddi.api.impl.API_091_RMISubscriptionListenerIntegrationTest Apr 22, 2013 5:51:17 PM org.apache.juddi.Registry start
        Hide
        kurtstam Kurt T Stam added a comment - - edited

        Hi Alex,

        I'm now setting the body to UTF-8. Does that get rid of the weird characters in the xml of the body? Can you rerun the test and let me know
        if the build passes on your machine?

        --Kurt

        Show
        kurtstam Kurt T Stam added a comment - - edited Hi Alex, I'm now setting the body to UTF-8. Does that get rid of the weird characters in the xml of the body? Can you rerun the test and let me know if the build passes on your machine? --Kurt
        Hide
        spyhunter99 Alex O'Ree added a comment -

        works now, thanks

        Show
        spyhunter99 Alex O'Ree added a comment - works now, thanks

          People

          • Assignee:
            kstam Kurt T Stam
            Reporter:
            spyhunter99 Alex O'Ree
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development