[CONTROLLER-1208] Unit test failures in RestPutOperationTest Created: 14/Mar/15 Updated: 27/Oct/15 Resolved: 27/Oct/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | Post-Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tom Pantelis | Assignee: | Jakub Toth |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2845 |
| Description |
|
There are various tests in RestPutOperationTest that are failing verify builds at least half the time. A couple examples: java.lang.AssertionError: expected:<200> but was:<400> RestPutOperationTest.putWithOptimisticLockFailedException:177 expected:<200> but was:<400> RestPutOperationTest.putDataMountPointIntoHighestElement:159 expected:<200> but was:<400> It seems there's an issue with incorrect status codes. |
| Comments |
| Comment by Tom Pantelis [ 14/Mar/15 ] |
|
I submitted and merged patch https://git.opendaylight.org/gerrit/#/c/16509/ to temporarily ignore RestPutOperationTest. Sorry for breaking the rule about merging your own patch but it's Fri nite and no one's available and I'm leaving for vacation soon and have several patches that I need verified. |
| Comment by Tony Tkacik [ 16/Mar/15 ] |
|
Seems to same problem sometimes we were observing with Restconf - shared (leaky) state between tests due to mutable singleton nature. |
| Comment by Jakub Toth [ 17/Jul/15 ] |