[CONTROLLER-1532] CommitTransactionPayloadTest#testCandidateSerialization() fails Created: 12/Jul/16 Updated: 15/Jul/16 Resolved: 15/Jul/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | 0.4.0 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Isaku Yamahata | Assignee: | Isaku Yamahata |
| 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: | 6186 |
| Description |
|
CommitTransactionPayloadTest#testCandidateSerialization() as follows Running org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayloadTest Results : Failed tests: |
| Comments |
| Comment by Isaku Yamahata [ 12/Jul/16 ] |
| Comment by Isaku Yamahata [ 12/Jul/16 ] |
|
In order to reproduce it, The root cause is that historic transaction id and transaction id can vary depending on the running order. And the payload size may vary depending on its value due to WritableObject#writeLongs() and #writeLong(). When the only test is run, historic id == 0 && transaction id == 0. |