aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-07-29Merge branch 'maint'Ingela Anderton Andin
2019-07-29ssl: Remove NPN test from DTLS interop testsIngela Anderton Andin
OpenSSL does note seem to support NPN for DTLS so we will have to skip those test
2019-07-29Merge branch 'maint'Péter Dimitrov
* maint: ssl: Enable TLS 1.3 test groups in FT
2019-07-26ssl: Enable TLS 1.3 test groups in FTPéter Dimitrov
2019-07-26Merge branch 'maint'Péter Dimitrov
* maint: ssl: Reorder testcases in ssl_api_SUITE ssl: Fix handshake pause in TLS 1.3 ssl: Implement option honor_cipher_order in TLS 1.3 ssl: Add test for option supported_groups ssl: Document option supported_groups ssl: Fix ssl_api_SUITE:connection_information ssl: Fix property tests for SSLv3 ssl: Update property tests with pre_shared_key ssl: Implement pre_shared_key extension ssl: Update property tests with psk_key_exchange_modes ssl: Implement psk_key_exchange_modes extension
2019-07-26Merge branch 'maint'Ingela Anderton Andin
2019-07-26Merge branch 'peterdmv/ssl/psk' into maintPéter Dimitrov
* peterdmv/ssl/psk: ssl: Reorder testcases in ssl_api_SUITE ssl: Fix handshake pause in TLS 1.3 ssl: Implement option honor_cipher_order in TLS 1.3 ssl: Add test for option supported_groups ssl: Document option supported_groups ssl: Fix ssl_api_SUITE:connection_information ssl: Fix property tests for SSLv3 ssl: Update property tests with pre_shared_key ssl: Implement pre_shared_key extension ssl: Update property tests with psk_key_exchange_modes ssl: Implement psk_key_exchange_modes extension
2019-07-26ssl: Move reuseaddr test to tls_api_SUITEIngela Anderton Andin
2019-07-26ssl: Avoid devision with zero in ssl_bench_SUITEIngela Anderton Andin
When one test in ssl_bench_SUITE is run as a smoke test in the ordinary test runs it might get problems on windows as time measurement is to coarse
2019-07-25Correct dump_log_write_threshold default valueMichael Davis
```erl 1> mnesia:system_info(dump_log_time_threshold). 1000 ``` Looks like a missing `0`!
2019-07-25[megaco|test] Fixed timer 'start and stop' test caseMicael Karlberg
When cancel'ing a timer, the ok return is either: ok or {ok, Remaining} The test case did not handle this (expected 'ok').
2019-07-25[megaco|test] Improve skip'ing of codec casesMicael Karlberg
2019-07-25[megaco|test] Attempt to catch and handle skip'able TCP casesMicael Karlberg
When waiting for the server command handler to start listening, wait only for so long (5 seconds) and if it has not managed to start listening before then, we *skip* (because something is wrong with the *system*).
2019-07-25[megaco|test] General improvement to "skip handling"Micael Karlberg
2019-07-25ssl: Reorder testcases in ssl_api_SUITEPéter Dimitrov
2019-07-25ssl: Fix handshake pause in TLS 1.3Péter Dimitrov
2019-07-25ssl: Implement option honor_cipher_order in TLS 1.3Péter Dimitrov
2019-07-25ssl: Add test for option supported_groupsPéter Dimitrov
2019-07-25ssl: Document option supported_groupsPéter Dimitrov
2019-07-25ssl: Fix ssl_api_SUITE:connection_informationPéter Dimitrov
This commit fixes the connection_information testcase with TLS 1.3 connections.
2019-07-25mnesia: Bump protocol versionDan Gudmundsson
Remove unsupported conversions from the old protocols. This means mnesia on OTP-R18 nodes is no longer able to connect to OTP-22 mnesia nodes. Add protocol conversion for old nodes and sync_asym_trans transactions.
2019-07-25ssl: Fix property tests for SSLv3Péter Dimitrov
2019-07-25ssl: Update property tests with pre_shared_keyPéter Dimitrov
2019-07-25ssl: Implement pre_shared_key extensionPéter Dimitrov
Implement encode/decode of pre_shared_key.
2019-07-25ssl: Update property tests with psk_key_exchange_modesPéter Dimitrov
2019-07-25ssl: Implement psk_key_exchange_modes extensionPéter Dimitrov
Implement encode/decode of psk_key_exchange_modes.
2019-07-25Merge branch 'maint'Ingela Anderton Andin
2019-07-25ssl: Correct groupsIngela Anderton Andin
2019-07-25mnesia: Introduce sync_asym_trans protocolDan Gudmundsson
Transactions with sticky locks could with async_asym transactions be committed in the wrong order, since asym transaction are spawned on the remote nodes. See ERL-768.
2019-07-25Merge branch 'maint'Ingela Anderton Andin
2019-07-25ssl: Avoid race in test codeIngela Anderton Andin
2019-07-25ssl: Remove duplicate suiteIngela Anderton Andin
The suite was renamed tls_1_3_versions_SUITE but apparently not via git, so the old file remained.
2019-07-25ssl: Continue moving test form basic_SUITE to more appropriate suitesIngela Anderton Andin
2019-07-25ssl: Add ssl_socket_SUITEIngela Anderton Andin
2019-07-25Merge branch 'maint'Ingela Anderton Andin
2019-07-24ssl: Old OpenSSL implementation does not ignore trailing client hello dataIngela Anderton Andin
Do not test TLS 1.0 with these old versions as we do send hello extensions for those implementations that will use them, and trailing unknown data should be ignored by RFC complient implementations.
2019-07-23[snmp|manager|test] Fixed notify test caseMicael Karlberg
The (second) notify test case had a faulty "condition" test (which skipped the case in all cases except when it was supposed to be skipped :) Also, the test start and stop of the manager during the test case has been adjusted. We try to keep track of how long time each start and stop takes. And also, if they takes to long, we skip the case.
2019-07-23[snmp|manager] Stop the managerMicael Karlberg
Make stopping the manager (the entire manager sup tree) more easy. The function(s) for starting and stopping the manager that exist in the snmpm module is (mostly) intended for testing, making the stop function more "potent" is no real problem (now any process not just the parent) can stop the manager process tree.
2019-07-23Close log files in case of inode change properlySergey Yelin
2019-07-23[snmp|manager|test] Notify started (test case) adjustmentsMicael Karlberg
We have seen one case when it takes unreasonably long time to start the manager, which causes the test case (notify_started01) to fail. We try to monitor the start, and if it takes to long a time, we instead skip.
2019-07-23Merge branch 'maint'Ingela Anderton Andin
2019-07-23Fix return value in case of errorBernard Kolobara
2019-07-23ssl: Move alert test to own suiteIngela Anderton Andin
Also clean up code after previous test moves
2019-07-23ssl: Move der_input and rizzo testsIngela Anderton Andin
Also refactor Rizzo tests to minimize them to only test what actually can be tested. In practice this was already done but a lot of legacy code remained. In the past timing happened to make it look like it was possible to test Rizzo-Dungeon mitigation in more detail, but it was based on false assumptions that can not be applied to streams.
2019-07-22[megaco|test] Message in "wrong" order cause test case failMicael Karlberg
It looked like two messages was received in the "wrong" order, cuasing the request_and_reply_plain test case tro fail (on a windows machine). On closer inspection, the reason was that an "unconditional" receive was made when waiting for a (disconnect) callback. But instead we received a secondary message. So, remove the unconditional receive and instead introduce a timeout (10 seconds).
2019-07-22[megaco|test] Failure to start config should result in skipMicael Karlberg
It seems that the megaco_config process did not start (for an unknown reason) and that resulted in a failed test case. But starting the config process was not what the test case was for, so it should have resulted in a skip. Also, since we did not check the result of the config start, we don't know why it failed. So, move the start and stop of the megaco_config process to the [init|end]_per_testcase function(s). If we fail to start, then we skip (with a useful reason).
2019-07-22Add ED25519 & ED448 support to crypto:generate_keyBernard Kolobara
2019-07-22[snmp/agent|test] Fixing test runner exitMicael Karlberg
2019-07-22Merge branch 'maint'Péter Dimitrov
* maint: ssl: Fix handling of ALPN in TLS 1.3
2019-07-22Merge branch 'peterdmv/ssl/fix-tls13-alpn' into maintPéter Dimitrov
* peterdmv/ssl/fix-tls13-alpn: ssl: Fix handling of ALPN in TLS 1.3