IBM-Cloud / gp-js-client

JavaScript/Node.js client for Globalization Pipeline
https://developer.ibm.com/open/ibm-bluemix-globalization-pipeline-service/node-js-sdk/
Apache License 2.0
8 stars 24 forks source link

TR tests stalling and other issues #166

Closed srl295 closed 5 years ago

srl295 commented 5 years ago

160 had an issue where the doc name was being set with:

requestData.targetLanguagesMap.HTML={testhtml:['qru']};

Two issues:

  1. testhtml is a variable, but is a literal here (instead of test.html
  2. qru is not a valid target language for that document.
  3. When the above are fixed: No document segments to be included in a translation request (instance:mebf0b1167087b986e4cb649ed2348e0bb1cb53eab, request:c028d6482335bdcfb02d4f7ec155e637, document:html:test.html, lang:es)

For some unknown reasons, the tests were passing, but after a long period of time.