[TIMOB-9707] Anvil: testSocketIO test in network_socket_tcp test suite is incorrect
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-01T22:20:37.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | n/a |
Components | Drillbit |
Labels | anvil, core, linvalid |
Reporter | Allen Yeung |
Assignee | Eric Merriman |
Created | 2012-06-21T14:44:10.000+0000 |
Updated | 2017-05-22T22:14:31.000+0000 |
Description
Per documentation:
- Read/WriteStreamCallbackArgs.errorState is either 0 or 1.
- Read/WriteStreamCallbackArgs.errorDescription is empty string when no error.
- CreateBufferArgs has value, not data
Correct validation:
valueOf(testRun, e.errorState).shouldBe(0);
valueOf(testRun, e.errorDescription).shouldBe('');
Tested with 2_1_X branch on Android. Can not reproduce.
Closing ticket as "Won't Fix" as Anvil is no longer supported.