Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-10 | Update copyright year | Rickard Green | |
2017-02-03 | Store messages for 'rex' and 'error_logger' off heap | Björn Gustavsson | |
Performance for processes that receive huge amounts of messages can be increased by storing the incoming messages outside the heap (that avoids copying the message in a garbage collection). Two OTP processes that are known to receive many messages are 'rex' (used by 'rpc') and 'error_logger'. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-03-11 | Don't throw exceptions from rpc:call() and rpc:block_call() | Björn Gustavsson | |
The documentation for rpc:call() says: Evaluates apply(Module, Function, Args) on the node Node and returns the corresponding value Res, or {badrpc, Reason} if the call fails. What is not said that rpc:call() can generate an exception if the 'rex' process on the other node is killed: (kalle@host)1> Rex = rpc:call(arne@host, erlang, whereis, [rex]). <6937.14.0> (kalle@host)2> rpc:call(arne@host, erlang, exit, [Rex,kill]). ** exception exit: {killed, {gen_server,call, [{rex,arne@host}, {call,erlang,exit,[<6937.14.0>,kill],<0.33.0>}, infinity]}} in function rpc:rpc_check/1 (rpc.erl, line 361) On the other hand, if the other node shuts down for some other reason, we'll get a {badrpc,nodedown} result: (kalle@host)5> rpc:call(arne@host, erlang, halt, []). {badrpc,nodedown} There does not seem to be any reason to handle the two cases differently. If the 'rex' process is terminated on the other node, it will shut down shortly thereafter. Therefore, change rpc:call() and rpc:block_call() to always return {badrpc,Reason} is the call fails: (kalle@host)1> Rex = rpc:call(arne@host, erlang, whereis, [rex]). <6937.14.0> (kalle@host)2> rpc:call(arne@host, erlang, exit, [Rex,kill]). {badrpc,{'EXIT',{killed,{gen_server,call, [{rex,arne@host}, {call,erlang,exit,[<7126.14.0>,kill],<0.33.0>}, infinity]}}}} | |||
2016-03-11 | Reduce code duplication in called_node_dies/1 and friends | Björn Gustavsson | |
2016-03-10 | Remove ?line macros | Björn Gustavsson | |
While we are it, also re-ident the files. | |||
2016-03-10 | Eliminate use of the ?t macro | Björn Gustavsson | |
2016-03-10 | Eliminate use of doc and suite clauses | Björn Gustavsson | |
Those clause are obsolete and never used by common_test. | |||
2016-03-10 | Eliminate use of test_server:sleep/1 | Björn Gustavsson | |
2016-03-09 | Modernize timetraps | Björn Gustavsson | |
2016-02-17 | Eliminate use of test_server.hrl and test_server_line.hrl | Björn Gustavsson | |
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-06-05 | Clean up rpc_SUITE:call_benchmark/1 | Björn Gustavsson | |
The call_benchmark/1 test case is supposed to return a comment about the number of RPC calls per second, but the return value from the function that produces the comment (do_call_benchmark/4) is ignored. The test case is essentially useless except as a smoke test. Simplify the test case and correct the showing of the number of RPC calls per second, as well as eliminate the use of erlang:now/0. | |||
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for kernel | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update kernel tests to conform with common_test standard | Lukas Larsson | |
2010-01-31 | Merge branch 'bg/cleanup-tests' into ccase/r13b04_dev | Erlang/OTP | |
* bg/cleanup-tests: file_SUITE: eliminate a warning for an unused variable kernel tests: modernize guard tests unicode_SUITE: replace deprecated concat_binary/1 with list_to_binary/1 stdlib tests: modernize guard tests Test suites: fix creation of Emakefiles | |||
2010-01-29 | kernel tests: modernize guard tests | Björn Gustavsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |