Skip to content

Fix flaky tests by increasing timeout#4902

Merged
jiahuili430 merged 1 commit intomainfrom
fix-increase-timeout
Dec 7, 2023
Merged

Fix flaky tests by increasing timeout#4902
jiahuili430 merged 1 commit intomainfrom
fix-increase-timeout

Conversation

@jiahuili430
Copy link
Copy Markdown
Contributor

@jiahuili430 jiahuili430 commented Dec 7, 2023

Overview

Fix the following error by increasing the timeout.

Error logs:

::in function gen_server:call/3 (gen_server.erl, line 385)
in call from couch_proc_manager:get_proc/1 (src/couch_proc_manager.erl, line 90)
in call from couch_query_servers:get_os_process/1 (src/couch_query_servers.erl, line 713)
in call from couch_js_tests:should_exit_on_internal_error/1 (test/eunit/couch_js_tests.erl, line 378)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514)
**exit:{timeout,
    {gen_server,call,
        [couch_proc_manager,
         {get_proc,
             {client,undefined,undefined,<<"javascript">>,undefined,
                 undefined,undefined}},
         5000]}}

Testing recommendations

make eunit apps=couch suites=couch_js_tests

Related Issues or Pull Requests

Checklist

  • Code is written and works correctly
  • Changes are covered by tests
  • Any new configurable parameters are documented in rel/overlay/etc/default.ini
  • Documentation changes were made in the src/docs folder
  • Documentation changes were backported (separated PR) to affected branches

@jiahuili430 jiahuili430 marked this pull request as ready for review December 7, 2023 18:35
@jiahuili430 jiahuili430 merged commit a130369 into main Dec 7, 2023
@jiahuili430 jiahuili430 deleted the fix-increase-timeout branch December 7, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants