diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2023-04-26 18:41:22 -0400 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2023-04-26 19:23:23 -0400 |
commit | 0d1175a4f1bfee8b1eb2e2d96a114aac83a2e43b (patch) | |
tree | 412297252bc2d205b15371347dea4e5b7751897d | |
parent | e6dcf443f6cf996f07ff2e1be137afc33d9c77d4 (diff) | |
download | couchdb-0d1175a4f1bfee8b1eb2e2d96a114aac83a2e43b.tar.gz |
Another flaky couch_js fix
After the previous fix, now the flakiness moved on to the next line.
Remove the extra assertion to avoid it generating flaky tests. The main
assertion is already checked above that we get a crash.
-rw-r--r-- | src/couch/test/eunit/couch_js_tests.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/couch/test/eunit/couch_js_tests.erl b/src/couch/test/eunit/couch_js_tests.erl index 09cab59a5..ccd2cd0b5 100644 --- a/src/couch/test/eunit/couch_js_tests.erl +++ b/src/couch/test/eunit/couch_js_tests.erl @@ -274,9 +274,7 @@ should_exit_on_internal_error() -> % It may fail and just exit the process. That's expected as well throw:{os_process_error, _} -> ok - end, - % Expect the process to be dead - ?assertThrow({os_process_error, _}, couch_query_servers:proc_prompt(Proc, [<<"reset">>])). + end. trigger_oom(Proc) -> Status = |