org.junit.ComparisonFailure: expected:<...989 In Memory [test_user_ls test_user_ls /testRoot/testFileA 0.00B 01-12-2016 08:54:28:007 test_user_ls test_user_ls /testRoot/testDir 30.00B 01-12-2016 08:54:28:018 Not In Memory test_user_ls test_user_ls] /testRoot/testFil...> but was:<...989 In Memory [binfan binfan /testRoot/testFileA 0.00B 01-12-2016 08:54:28:007 binfan binfan /testRoot/testDir 30.00B 01-12-2016 08:54:28:018 Not In Memory binfan binfan ] /testRoot/testFil...>

JIRA | Bin Fan | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    mvn test problem

    Google Groups | 1 year ago | yuzhiwe...@gmail.com
    org.junit.ComparisonFailure: expected:<-rw-r--r-- [test_user_ls test_user_ls 10.00B 01-15-2016 21:04:30:130 In Memory /testRoot/testFileA drwxr-xr-x test_user_ls test_user_ls 0.00B 01-15-2016 21:04:30:147 /testRoot/testDir -rw-r--r-- test_user_ls test_user_ls] 30.00B 01-15-2...> but was:<-rw-r--r-- [wq wq 10.00B 01-15-2016 21:04:30:130 In Memory /testRoot/testFileA drwxr-xr-x wq wq 0.00B 01-15-2016 21:04:30:147 /testRoot/testDir -rw-r--r-- wq wq ] 30.00B 01-15-2...>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    AlertingTest failing in json comparison

    GitHub | 3 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...ule-metadata":null}}[]> but was:<...ule-metadata":null}}[ ]>
  4. 0

    Running the tests, deploying to an internal maven, & updating versions

    GitHub | 2 years ago | jtruelove
    org.junit.ComparisonFailure: expected:<[error]> but was:<[ok]>

  1. rsprangemeijer 5 times, last 1 week ago
  2. jf-ast 2 times, last 2 weeks ago
  3. MoYapro 2 times, last 3 months ago
  4. richard77 2 times, last 3 months ago
  5. treefolk 2 times, last 3 months ago
4 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

    expected:<...989 In Memory [test_user_ls test_user_ls /testRoot/testFileA 0.00B 01-12-2016 08:54:28:007 test_user_ls test_user_ls /testRoot/testDir 30.00B 01-12-2016 08:54:28:018 Not In Memory test_user_ls test_user_ls] /testRoot/testFil...> but was:<...989 In Memory [binfan binfan /testRoot/testFileA 0.00B 01-12-2016 08:54:28:007 binfan binfan /testRoot/testDir 30.00B 01-12-2016 08:54:28:018 Not In Memory binfan binfan ] /testRoot/testFil...>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:115)
    2. org.junit.Assert.assertEquals(Assert.java:144)
    2 frames
  3. tachyon.shell
    TfsShellTest.lsTest
    1. tachyon.shell.TfsShellTest.lsTest(TfsShellTest.java:578)
    1 frame