Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24268] Windows: Investigate - Use of HttpClient hangs UI tests

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-01-06T07:56:37.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2017-01-03T07:53:15.000+0000
Updated2017-05-02T21:25:04.000+0000

Description

Enabling [ti.network.httpclient.test.js](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.network.httpclient.test.js) on our Jenkins causes freezes at some point on UI tests, especially we've been seeing hangs around [ti.ui.listview.test.js](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.ui.listview.test.js). We suspect it has to be something leaking in HttpClient .

Comments

  1. Kota Iguchi 2017-01-05

    So this patch works; https://github.com/appcelerator/titanium_mobile_windows/pull/914 because concurrency::cancellation_token_source doesn't work well with C++ destructor maybe?
  2. Kota Iguchi 2017-01-06

    https://github.com/appcelerator/titanium_mobile_windows/pull/918

JSON Source