big-r81 commented on PR #5677:
URL: https://github.com/apache/couchdb/pull/5677#issuecomment-3359567267

   Hey, did a test with QuickJS and I got 3 of the 4 errors too!
   
   Failing Elixir tests:
   ```
   UTF8Test [test/elixir/test/utf8_test.exs]
     * test UTF8 support (39.7ms) [L#12]
   
     1) test UTF8 support (UTF8Test)
        test/elixir/test/utf8_test.exs:12
        Assertion with in failed
        code:  assert status in [201, 202]
        left:  400
        right: [201, 202]
        stacktrace:
          (elixir 1.18.4) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
          test/elixir/test/utf8_test.exs:25: (test)
   ```
   
   Failing EUnit tests:
   ```
       cpse_test_purge_docs
         cpse_gather: -make_test_fun/3-fun-2- (cpse_purge_simple)...[0.005 s] ok
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_purge_simple_info_check)...[0.005 s] ok
         cpse_gather: -make_test_fun/3-fun-2- (cpse_purge_empty_db)...[0.002 s] 
ok
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_purge_single_docid)...[0.005 s] ok
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_purge_multiple_docids)...[0.006 s] ok
         cpse_gather: -make_test_fun/3-fun-2- (cpse_purge_no_docids)...[0.002 
s] ok
         cpse_gather: -make_test_fun/3-fun-2- (cpse_purge_rev_path)...[0.010 s] 
ok
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_purge_deep_revision_path)...[0.346 s] ok
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_purge_partial_revs)...*failed*
   in function couch_util:json_decode/2 (src/couch_util.erl, line 486)
   in call from cpse_util:'-save_docs/3-fun-0-'/1 (src/cpse_util.erl, line 128)
   in call from lists:map/2 (lists.erl, line 2385)
   in call from cpse_util:save_docs/3 (src/cpse_util.erl, line 126)
   in call from cpse_test_purge_docs:cpse_purge_partial_revs/1 
(src/cpse_test_purge_docs.erl, line 253)
   in call from eunit_test:run_testfun/1 (eunit_test.erl, line 83)
   in call from eunit_proc:run_test/1 (eunit_proc.erl, line 554)
   in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 379)
   **throw:{invalid_json,{55,invalid_string}}
     output:<<"">>
   ```
   ```
         cpse_gather: -make_test_fun/3-fun-2- 
(cpse_increment_purge_seq_on_partial_purge)...*failed*
   in function couch_util:json_decode/2 (src/couch_util.erl, line 486)
   in call from cpse_util:'-save_docs/3-fun-0-'/1 (src/cpse_util.erl, line 128)
   in call from lists:map/2 (lists.erl, line 2385)
   in call from cpse_util:save_docs/3 (src/cpse_util.erl, line 126)
   in call from 
cpse_test_purge_seqs:cpse_increment_purge_seq_on_partial_purge/1 
(src/cpse_test_purge_seqs.erl, line 103)
   in call from eunit_test:run_testfun/1 (eunit_test.erl, line 83)
   in call from eunit_proc:run_test/1 (eunit_proc.erl, line 554)
   in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 379)
   **throw:{invalid_json,{56,invalid_string}}
     output:<<"">>
   ```
   
   This three failing tests have nothing to do with the SM140 it seems.
   
   The test `test runtime code evaluation can be prevented` could be through 
the failing SM API, but I'm only guessing...


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to