[OPNFLWPLUG-511] Unit test failure in testOnErrorMessage due to timing issues Created: 23/Jun/15 Updated: 27/Sep/21 Resolved: 01/Jul/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Abhijit Kumbhare | Assignee: | Michal Rehak |
| 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: | 3849 |
| Description |
|
The link for the unit test failure: Error Message expected:<1> but was:<0> java.lang.AssertionError: expected:<1> but was:<0> /**
*
*/ @Test public void testOnErrorMessage() throws InterruptedException { simulateV13PostHandshakeState(connectionConductor); ErrorMessageBuilder builder1 = new ErrorMessageBuilder(); builder1.setVersion((short) 4); builder1.setCode(100); connectionConductor.onErrorMessage(builder1.build()); synchronized (popListener) { popListener.wait(maxProcessingTimeout); }>>>> Assert.assertEquals(1, errorMessageCounter); |
| Comments |
| Comment by Michal Rehak [ 23/Jun/15 ] |
| Comment by Michal Rehak [ 01/Jul/15 ] |
|
merged |