org.junit.ComparisonFailure: The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]>

Jenkins JIRA | redsolo | 8 years ago
  1. 0

    -- Error Log from JUnit -- Class: hudson.plugins.tfs.commands.ListWorkspacesCommandTest Method: assertListWithWorkspaceContainingSpace Actual: Hudson-node Expected: Hudson-node lookup Stack Trace: org.junit.ComparisonFailure: The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]> at org.junit.Assert.assertEquals(Assert.java:96) at hudson.plugins.tfs.commands.ListWorkspacesCommandTest.assertListWithWorkspaceContainingSpace(ListWorkspacesCommandTest.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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Jenkins JIRA | 8 years ago | redsolo
    org.junit.ComparisonFailure: The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]>
  2. 0

    -- Error Log from JUnit -- Class: hudson.plugins.tfs.commands.ListWorkspacesCommandTest Method: assertListWithWorkspaceContainingSpace Actual: Hudson-node Expected: Hudson-node lookup Stack Trace: org.junit.ComparisonFailure: The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]> at org.junit.Assert.assertEquals(Assert.java:96) at hudson.plugins.tfs.commands.ListWorkspacesCommandTest.assertListWithWorkspaceContainingSpace(ListWorkspacesCommandTest.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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Jenkins JIRA | 8 years ago | redsolo
    org.junit.ComparisonFailure: The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]>
  3. 0

    Re: LoggingSelenium - Java Library for Java-Client-Driver

    Google Groups | 9 years ago | ivy joy
    org.junit.ComparisonFailure: Expected page title not found expected:{code:html}<Selenium R[emote Control]: About> but was:<Selenium R[C]: About>{code}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HandleAccessorTest failing in maven

    GitHub | 2 years ago | sammefford
    org.junit.ComparisonFailure: byte[] content mismatch expected:<[ยก]Hola!> but was:<[?]Hola!>
  6. 0

    Apply fix to SturcturedQueryBuilderTest to b2_0

    GitHub | 2 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...vices/search" xmlns:[y="target.org" xmlns:x="roo]t.org" xmlns:xsi="ht...> but was:<...vices/search" xmlns:[x="root.org" xmlns:y="targe]t.org" xmlns:xsi="ht...>

  1. MoYapro 2 times, last 3 weeks ago
  2. richard77 2 times, last 4 weeks ago
  3. treefolk 2 times, last 1 month ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. r1chjames 3 times, last 1 month ago
2 more registered users
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.junit.ComparisonFailure

    The workspace name is incorrect expected:<Hudson-node[ lookup]> but was:<Hudson-node[]>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:96)
    1 frame
  3. hudson.plugins.tfs
    ListWorkspacesCommandTest.assertListWithWorkspaceContainingSpace
    1. hudson.plugins.tfs.commands.ListWorkspacesCommandTest.assertListWithWorkspaceContainingSpace(ListWorkspacesCommandTest.java:112)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. JUnit
    TestClassRunner.run
    1. org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
    2. org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
    3. org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
    4. org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
    5. org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
    6. org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
    7. org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
    8. org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
    9. org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
    10. org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
    10 frames
  6. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
    1 frame
  7. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    5 frames