Age | Commit message (Collapse) | Author |
|
Make the test suite log more readable.
Normal io and the debug printouts from megaco does not mix well.
Its difficult to know the proper timeline. So add some "sleeps"
so that its easier to read.
|
|
|
|
|
|
The actual "improvement" has to do with io. That is, making
sure we get any. A test case failed (on a OpenIndiana VM),
which basically only pointed to which line in the test code.
But it was impossible to figure out from that what actually
had gone wrong.
Also removed the 'export all' compiler flag, which caused a
whole bunch of unused function to become visible. Commented
out those...
|
|
The simple test case was faulty in that the simple example
(which it is testing) require that the MGC and MG run on different
erlang nodes. But the test case did not do this. Instead, it ran
both the MGC and the MG on the test server node, which caused
the test case to fail 1 time of 10.
|
|
We did not check the actual result of the timer cancel
operation before continuing, which seems to cause
problems on some platforms (where the timer may actually
expire even though we have 100 ms to cancel).
So now we check the cancel result, and if we did not
succeed, we instead skip the test case.
|
|
|
|
The examples test suite was hard to debug just based
on its output (both plain debug printouts and printouts
generated via dbg). Some timeouts has been added between
the various actions so that it will be easier to understand
the output.
|
|
Infinite cycle fixed on try to change run queue (if it has already ch…
|
|
* peterdmv/inets/httpc-uri-scheme/ERL-969/OTP-15930:
inets: Return error if URI has no scheme (httpc)
|
|
Implement support for ECDSA certificates in TLS 1.3
|
|
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939:
erts: Fix integer overflow in loader
erts: Fix integer overflow in list subtraction
|
|
qsort expects the comparison function to return an int; returning
an `Sint` may yield nonsensical results.
|
|
CMP_TERM returned an `Sint`, which overflowed the `int` used in
erl_rbtree for storing the comparison, causing list subtraction to
behave strangely.
|
|
Support local sockets with inet:i/0
OTP-15935
|
|
concurrently)
|
|
|
|
Optimize ordsets:union/1
|
|
erts: Update etp-stackump, stackmap and disasm
|
|
|
|
* lukas/erts/cleanup_scheduler_start:
erts: Reduce test time for multi_load in valgrind
erts: Randomize valgrind taskset CPU
erts: Make dump_SUITE:free_dump tc more robust to different systems
erts: Fix distr SUITE latency testcases
erts: Fix gc disable when terminating process
erts: Cleanup start of all erts threads to ABORT when failing
|
|
* peterdmv/ssl/fix-peername-sockname:
ssl: Update ssl_test_lib
|
|
xmllint did not accept a 'description' tag for the 'DATA TYPE'
section. But a 'note' tag worked (it *also* made more sence).
OTP-15882
|
|
OTP-15882
|
|
Add a "proper" behaviour module for the megaco_user behaviour.
This behaviour is not a proper behaviour since its possible to
configure megaco to add additional arguments to *all* of the
functions in the behaviour (with the user_args config option).
So, this behaviour only reflects the *default config* (whith
the user_args set to [], that is no extra args).
OTP-15882
|
|
Made the behaviour definitions of megaco_encoder and
megaco_edist_compress follow "modern" standards (which
satisfies dialyzer).
OTP-15882
|
|
Removed a single ']' that did no good from the doc...
OTP-15882
|
|
Mostly added nowarn_function-attributes to silence dialyzer
(for functions that are "future" proofed).
But actually also found some errors (although the issues have
not been found for almost 15 years, so...).
OTP-15882
|
|
The actual "improvement" has to do with io. That is, making
sure we get any. A test case failed (on a OpenIndiana VM),
which basically only pointed to which line in the test code.
But it was impossible to figure out from that what actually
had gone wrong.
Also removed the 'export all' compiler flag, which caused a
whole bunch of unused function to become visible. Commented
out those...
|
|
The previous test amount could take up to 3 hours to finish!
|
|
When running multiple valgrinds on the same machine we want to
attempt to make sure that they do not end up on the same core.
|
|
|
|
|
|
|
|
Before this change erts used to crash dump and then abort, but a
crash dump is not really usefull at this point and it caused all
sort of lock problems when crash dumping that early in the system
boot, so now it is changed to only dump core instead.
Also in the process I cleaned up some the code so that it does
not to a lot of things that are not needed.
|
|
* lukas/erts/fix-half-arguments-to-erlexec/OTP-15931:
erlexec: Fix argument separation when mixing env flags
|
|
Example:
export ERL_AFLAGS=-test
erl dummy_param
In the above example, the dummy_param would be interpreted
as an argument to -test, and not as a separate argument as
it should.
|
|
This commit fixes a regression and changes httpc to return
{error, no_scheme} when the request URI has no scheme
e.g. "//foobar".
|
|
Before:
1> gen_udp:open(0, [local, {ip, {local, "unixdomainfile"}}]).
{ok,#Port<0.6>}
2> inet:i().
** exception error: bad argument
in function integer_to_list/1
called as integer_to_list(<<"unixdomainfile">>)
in call from inet:fmt_port/2 (inet.erl, line 1646)
in call from inet:fmt_addr/2 (inet.erl, line 1642)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-info_lines/3-lc$^0/1-0-'/3 (inet.erl, line 1546)
in call from inet:ii/3 (inet.erl, line 1531)
in call from inet:i/0 (inet.erl, line 1515)
After:
Port Module Recv Sent Owner Local Address Foreign Address State Type
4160 local_udp 0 0 <0.1747.0> local:unixdomainfile *:* IDLE DGRAM
|
|
Remove unused SSH definitions
OTP-15929
|
|
crypto: Fix the build of static crypto nifs
OTP-15928
|
|
`ordsets:union/1` is not especially efficient when calculating the
union of many ordsets. Rewrite it to use the highly optimized
`lists:umerge/1`.
|
|
bjorng/bjorn/compiler/fix-slow-compilation/OTP-15923
Fix slow compilation of huge functions
|
|
* peterdmv/ssl/fix-ssl-basic-suite:
ssl: Fix ssl_basic_SUITE
|
|
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
|
|
* lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926:
erts: Don't copy binary data from dist data
erts: Move copy of payload to receiving process
|
|
Fix typo in logger_chapter.xml
|
|
'josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949' into maint
* josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949:
Always fallback to source when we can't parse AST
|
|
* hans/crypto/valgrind-fix-FIPS/OTP-15924:
crypto: Adjust VALGRIND decls
crypto: Fix mem leak detected by valgrind
|
|
On some configurations the inet:peername/1 and inet:getaddr/2
functions return different loopback addresses, leading to
testcase failures in the ssl_basic_SUITE (peername, sockname).
This commit updates the node_to_hostip and check_result functions
to tolerate different loopback addresses.
|