You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/04/18 03:28:50 UTC

[GitHub] [couchdb] wohali edited a comment on issue #2788: SpiderMonkey 68 support

wohali edited a comment on issue #2788: SpiderMonkey 68 support
URL: https://github.com/apache/couchdb/pull/2788#issuecomment-615547718
 
 
   @davisp So this now passes `make elixir` and `make javascript`, but fails on `make eunit` with the following log output:
   
   ```
   module 'couch_js_tests'
     Test couchjs
       couch_js_tests: couch_js_test_...[0.066 s] ok
       couch_js_tests: couch_js_test_...[0.063 s] ok
       couch_js_tests: couch_js_test_...[0.063 s] ok
       couch_js_tests: couch_js_test_...*failed*
   in function couch_util:json_decode/2 (src/couch_util.erl, line 508)
   in call from couch_js_tests:should_replace_broken_utf16/0 (test/eunit/couch_js_tests.erl, line 102)
   **throw:{invalid_json,{11,invalid_string}}
     output:<<"">>
   
       couch_js_tests: couch_js_test_...<<208,188,208,176,208,188,208,176,32,208,188,209,139,208,187,208,176,32,209,128,208,176,208,188,209,131>>
   [[[<<108,101,110,103,116,104>>,14]],[[<<115,117,98,115,116,114,105,110,103>>,<<208,188,209,139,208,187,208,176>>]],[[<<115,108,105,99,101>>,<<208,188,208,176,208,188,208,176>>]]]
   [0.069 s] ok
       couch_js_tests: couch_js_test_...out of memory
   [1.258 s] ok
   ```
   
   Can you help?
   
   Also, should we remove the `io:format` from L140 of that test file?
   ```
       io:format(standard_error, "~w~n~w~n", [MomWashedTheFrame, Result]),
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services