aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2012-11-09Merge branch 'maint'Lukas Larsson
* maint: Fix bug where require of same name at same config would return name in use
2012-11-09Fix bug where require of same name at same config would return name in useLukas Larsson
2012-11-09Merge remote branch 'upstream/maint'Ingela Anderton Andin
* upstream/maint: ssl: Do not use gen_fsm:sync_send_all_state_event/3 timeout
2012-11-09ssl: Do not use gen_fsm:sync_send_all_state_event/3 timeoutIngela Anderton Andin
The gen_fsm:sync_send_all_state_event/3 timout is a client side timeout. If timeouts are needed we want them to be server side timeouts.
2012-11-08Merge branch 'maint'Fredrik Gustafsson
* maint: Doc for quiet_mode SSH quiet mode
2012-11-08Merge branch 'fredrik/ssh-quiet-mode/OTP-10429' into maintFredrik Gustafsson
* fredrik/ssh-quiet-mode/OTP-10429: Doc for quiet_mode SSH quiet mode
2012-11-08Doc for quiet_modeFredrik Gustafsson
2012-11-08Merge branch 'bjorn/ct/minor-corrections'Björn Gustavsson
* bjorn/ct/minor-corrections: test_server_io: Correct a few comments Handle ct:abort_current_testcase/1 when executing parallel groups Make sure that "Cover analysing..." is written to stdout Make sure that "Testing..." is not written if testing has finished
2012-11-08Merge branch 'bjorn/test_server/remove-remote-target-support'Björn Gustavsson
* bjorn/test_server/remove-remote-target-support: Remove stale support for remote target nodes
2012-11-08Remove stale support for remote target nodesBjörn Gustavsson
The support for remote target nodes has not worked in a long time. We are unlikely to ever need remot target node support and if we'll need it will be easier to start over from scratch.
2012-11-08Merge branch 'maint'Anders Svensson
2012-11-08Merge branch 'anders/diameter/upgrade/OTP-10550' into maintAnders Svensson
* anders/diameter/upgrade/OTP-10550: Allow for no diameter on remote node in connection guard
2012-11-08Merge branch 'anders/diameter/peer_mapping/OTP-10470' into maintAnders Svensson
* anders/diameter/peer_mapping/OTP-10470: Document peer_ref() service_info Use peer_ref() service_info in traffic suite Add service_info for a peer_ref()
2012-11-08Merge branch 'anders/diameter/shared_transport/OTP-10443' into maintAnders Svensson
* anders/diameter/shared_transport/OTP-10443: Use multiple connections in traffic suite Implement service_opt() restrict_connections Document service_opt() restrict_connections
2012-11-08Merge branch 'anders/diameter/sequence_masks/OTP-10445' into maintAnders Svensson
* anders/diameter/sequence_masks/OTP-10445: Redo watchdog test suite Update/clarify some comments Add reopen message from watchdog Add options service_info Add diameter_reg:wait/1 Clarify diameter_transport doc Remove pre-OTP configure support Remove obsolete make target Use sequence masks in test suites Implement sequence masks Document sequence masks
2012-11-08dict_SUITE: Eliminate use of parameterized modulesBjörn Gustavsson
Since the support for parameterized modules will be removed in R16, we should not use them in test cases.
2012-11-08sets_SUITE: Eliminate use of parameterized modulesBjörn Gustavsson
Since the support for parameterized modules will be removed in R16, we should not use them in test cases.
2012-11-07test_server_io: Correct a few commentsBjörn Gustavsson
2012-11-07Handle ct:abort_current_testcase/1 when executing parallel groupsBjörn Gustavsson
ct:abort_current_testcase/1 (which is a wrapper for the function with the same name in test_server_ctrl) would not work as expected when a group with parallel test cases was executing. Essentially, the abort_current_testcase message would be ignored until the group has finished and would then abort the end_per_group testcase for the group. Since there is no unique current testcase when a parallel group is executing, we must handle the abort_current_testcase message and return an error tuple. Also fix the bug that test_server_ctrl:abort_current_testcase/1 would always return 'ok'.
2012-11-07Make sure that "Cover analysing..." is written to stdoutBjörn Gustavsson
If it is written with io:fwrite/2 it will be written to the unexpected_io log, where it will not be of any use.
2012-11-07Make sure that "Testing..." is not written if testing has finishedBjörn Gustavsson
When writing messages to stdout, all messages are prefixed with "Testing" followed by the name of the test suite. We don't want to write that prefix if testing has stopped.
2012-11-07[common_test] Add tests for user timetraps in groupsSiri Hansen
2012-11-07[test_server] Skip test cases if init_per_group fails in user timetrapSiri Hansen
'user_timetrap_error' was not detected during any "conf init function" except init_per_suite, so if e.g. init_per_group failed with user_timetrap_error, then the test cases in the group would not be skipped. This has been corrected.
2012-11-07[test_server] Add Config to run_test_case_msgloop/1 from the startSiri Hansen
Earlier, #st.config was set to undefined when entering this loop. Then it was updated when the test case itself started. This means that if the test case process crashed during test case initiation, the parent process would not know the Config. This commit saves the initial Config value in the parent process (run_test_case_msgloop/1) from the start.
2012-11-07compiler tests: Correct error in receive_SUITE:groups/0Björn Gustavsson
Commit c4375a62cfaabfd8de757f59714623ba1a8cb915 added a parallel group, but incorrectly, so no test cases at all were run in receive_SUITE.
2012-11-05Merge branch 'maint'Fredrik Gustafsson
2012-11-05SSH quiet modeFredrik Gustafsson
2012-11-05Merge branch 'fredrik/ssh-use-options-alg/OTP-10498' into maintFredrik Gustafsson
* fredrik/ssh-use-options-alg/OTP-10498: Option to ssh:connect {pref_public_key_algs, list()} where you can give the algorithms you want to use
2012-11-05Allow for no diameter on remote node in connection guardAnders Svensson
The guard is against a connection to a given peer already existing but fails if diameter is not running on a remote node. Note that the guard itself is to be made configurable in R15B03 (OTP-10493) to allow multiple connections per peer.
2012-11-05Document peer_ref() service_infoAnders Svensson
2012-11-05Use peer_ref() service_info in traffic suiteAnders Svensson
2012-11-05Add service_info for a peer_ref()Anders Svensson
This allows a diameter_app callback to retrieve the corresponding configuration as passed to diameter:add_transport/2.
2012-11-05Use multiple connections in traffic suiteAnders Svensson
2012-11-05Implement service_opt() restrict_connectionsAnders Svensson
2012-11-05Document service_opt() restrict_connectionsAnders Svensson
Configuration will allow relaxation of the guard against multiple transport connections to the same peer.
2012-11-05Redo watchdog test suiteAnders Svensson
It was broken by sequence masks and can be simplified using (the new-ish) watchdog events.
2012-11-05Update/clarify some commentsAnders Svensson
2012-11-05Add reopen message from watchdogAnders Svensson
This makes capabilities available to service_info as soon as capabilities exchange has been completed. In particular, before state OKAY is reached.
2012-11-05Add options service_infoAnders Svensson
To retrieve service_opt() values. Don't document it yet.
2012-11-05Add diameter_reg:wait/1Anders Svensson
Mostly to use it in the watchdog test suite that's been broken by sequence masks. Do a bit of cleanup while we're at it.
2012-11-05Clarify diameter_transport docAnders Svensson
2012-11-05Remove pre-OTP configure supportAnders Svensson
It's neither used nor maintained.
2012-11-05Remove obsolete make targetAnders Svensson
There are plt/dialyze targets in src/Makefile.
2012-11-05Use sequence masks in test suitesAnders Svensson
2012-11-05Implement sequence masksAnders Svensson
Code should be loaded in this order: diameter_session (sequence/1) diameter_peer_fsm (calls to sequence/1) diameter_service (sequence config, mask in receive_message/3) diameter_watchdog (mask in peer start and receive_message/3) diameter_config (accept sequence config) Order of diameter and diameter_peer doesn't matter.
2012-11-05Document sequence masksAnders Svensson
Allow 32-bit Hop-by-Hop and End-to-End identifiers to be modified by replacing the topmost bits with a constant value. This allow services on different nodes to generate globally unique identifiers by having each node mask in its own constant.
2012-11-05Merge branch 'maint'Anders Svensson
2012-11-05Merge branch 'anders/diameter/service_info/OTP-10460' into maintAnders Svensson
* anders/diameter/service_info/OTP-10460: Don't call service process for service_info
2012-11-05Merge branch 'anders/diameter/failover_error/OTP-10461' into maintAnders Svensson
* anders/diameter/failover_error/OTP-10461: Add missing clause for peer failover
2012-11-05Merge branch 'anders/diameter/event_timing/OTP-10459' into maintAnders Svensson
* anders/diameter/event_timing/OTP-10459: Send up event *after* inserting peer in table