diff options
author | Micael Karlberg <[email protected]> | 2012-02-01 18:27:17 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-02-22 14:52:46 +0100 |
commit | a625c82cc2adb53e9aa70291445ed5a2a95a4f84 (patch) | |
tree | 318009b408fd58b01e52db7e42ff90ebf50930cb /lib/snmp/test | |
parent | a77df6bb39b851ef86385577f758378e8282a72b (diff) | |
download | otp-a625c82cc2adb53e9aa70291445ed5a2a95a4f84.tar.gz otp-a625c82cc2adb53e9aa70291445ed5a2a95a4f84.tar.bz2 otp-a625c82cc2adb53e9aa70291445ed5a2a95a4f84.zip |
[snmp/manager] Reworked the ATL mechanism for the net-if-mt
Removed the separate logger process. Instead open the
log from each worker process and log from them directly.
OTP-9876
Diffstat (limited to 'lib/snmp/test')
-rw-r--r-- | lib/snmp/test/snmp_log_test.erl | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/lib/snmp/test/snmp_log_test.erl b/lib/snmp/test/snmp_log_test.erl index b692017407..8478825f59 100644 --- a/lib/snmp/test/snmp_log_test.erl +++ b/lib/snmp/test/snmp_log_test.erl @@ -42,7 +42,11 @@ -export([ init_per_testcase/2, end_per_testcase/2, - all/0,groups/0,init_per_group/2,end_per_group/2, + all/0, + groups/0, + init_per_group/2, + end_per_group/2, + open_and_close/1, open_write_and_close1/1, @@ -109,16 +113,21 @@ end_per_testcase(_Case, Config) when is_list(Config) -> %%====================================================================== %% ?SKIP(not_yet_implemented). all() -> -[open_and_close, {group, open_write_and_close}, - {group, log_to_io}, {group, log_to_txt}]. + [ + open_and_close, + {group, open_write_and_close}, + {group, log_to_io}, + {group, log_to_txt}]. groups() -> - [{open_write_and_close, [], - [open_write_and_close1, open_write_and_close2, - open_write_and_close3, open_write_and_close4]}, - {log_to_io, [], [log_to_io1, log_to_io2]}, - {log_to_txt, [], - [log_to_txt1, log_to_txt2, log_to_txt3]}]. + [ + {open_write_and_close, [], + [open_write_and_close1, open_write_and_close2, + open_write_and_close3, open_write_and_close4]}, + {log_to_io, [], [log_to_io1, log_to_io2]}, + {log_to_txt, [], + [log_to_txt1, log_to_txt2, log_to_txt3]} + ]. init_per_group(_GroupName, Config) -> Config. |