Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14874] Socket: Server and client example - Runtime Error listening socket output - fix test case

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-04-18T21:54:24.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2014 Sprint 08, 2014 Sprint 08 SDK, Release 3.3.0
ComponentsAndroid, iOS
Labelsqe-3.1.2, qe-closed-3.3.0, qe-testadded, sockets
ReporterOlga Romero
AssigneeSunila
Created2013-08-13T21:56:00.000+0000
Updated2015-02-02T20:47:17.000+0000

Description

Not a regression. Test steps: 1. Install and run KS> Platform> Sockets> Server and client example Actual result: Runtime error (see attached files) Expected result: No Error

Attachments

FileDateSize
socket.png2013-08-13T21:56:00.000+0000101680
socketfail.txt2013-08-13T21:56:00.000+0000552193

Comments

  1. Sunila 2014-03-11

    Test case looks ok to me, it is that the 'closed' state is not properly checked before closing the socket again. https://github.com/appcelerator/titanium_mobile/pull/5449
  2. Olga Romero 2014-04-25

    Tested and verified no error with: Appcelerator Studio, build: 3.3.0.201404221437 Titanium SDK, build 3.3.0.v20140424130915 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.4.0-dev ├── node-appc@0.2.2 ├── npm@1.3.2 ├── titanium@3.3.0-dev └── titanium-code-processor@1.1.1-beta1 npm -g ls titanium: /usr/local/lib └── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422) XCode Version: 5.1.1 Device: iPhone5S iOS 7.0

JSON Source