Andrew Thompson
4dfee06cd9
Make tests less dependant on timer:sleeps to function correctly
преди 13 години
Andrew Thompson
53d5de448c
Fix term printing in errors to properly show embedded lists
The ~w formatting used before was not printing lists embedded in other
terms. This change uses trunc_io to print those terms safely and without
potentially introducing linebreaks (like ~p would)
преди 13 години
Andrew Thompson
0cc9e25224
Remove incorrect test case
преди 13 години
Scott Lystig Fritchie
042e210a9d
Remove application:unload() calls from test code
преди 13 години
Scott Lystig Fritchie
83c2a412ab
Mash in the remainder of adt-error-format-protection branch
преди 13 години
Andrew Thompson
d828c35f12
Fixup the tests after merging in the rotation code
преди 13 години
Scott Lystig Fritchie
4872b82885
Move EUnit sleep & sync stuff to new custom_sleep() func
преди 13 години
Andrew Thompson
bf5861a548
Tests for the crash log
преди 13 години
Andrew Thompson
3fe861c348
Lots of tests for the file backend
преди 13 години
Scott Lystig Fritchie
4148670b18
Fix sporadic EUnit test failures: try to sync via gen_event:which_handlers(), increase some sleep times
преди 13 години
Andrew Thompson
40b0e2d484
Record milliseconds with timestamps, make console less verbose by default
az558
преди 13 години
Andrew Thompson
0d3e45a39e
Plug some large error_logger message holes with trunc_io
преди 13 години
Andrew Thompson
d0338f11a8
Use format_reason in supervisor child exit messages, too
преди 13 години
Andrew Thompson
157d676562
Handle ETS table count system limit
преди 13 години
Andrew Thompson
077f218cd9
Make logging not crash when lager is not running
преди 13 години
Andrew Thompson
675006ec86
Make tests quiet
преди 13 години
Andrew Thompson
474bfc9e36
Fix failing test
преди 13 години
Andrew Thompson
eb68bc17fa
Fixed comments
преди 13 години
Andrew Thompson
4ac01374fa
Rename trunc_io to lager_trunc_io to prevent clashes
преди 14 години
Andrew Thompson
d230cbaa02
More fixes found by QC and some QC improvements
преди 14 години
Andrew Thompson
71fae1b89a
Truncator for funs; special case binary truncation when max is 0
преди 14 години
Jon Meredith
1f9ebb9e1e
Added a FudgeLen to bound how far over it can go.
trunc_io:format checks the length after formatting funs/bignums etc
so it can go over.
преди 14 години
Andrew Thompson
886d410eb9
Make highest log level be 0; add some helper macros
преди 14 години
Jon Meredith
c7ad3f80d5
Added basic eqc test for trunc_io:format with maxlen.
преди 14 години
Andrew Thompson
ae4f678406
Don't wrap the level argument in a list for no reason
преди 14 години
Andrew Thompson
a6cbc19712
Rework supervisor tree to be more sane
преди 14 години
Andrew Thompson
0859c90b06
Default the error_logger redirect to be on, log to the 'log' dir
преди 14 години
Andrew Thompson
f8afb3d8b1
Tests for emfile and system_limit formatting
преди 14 години
Andrew Thompson
a6325a7831
Add formatting for emfile and for various system limits
преди 14 години
Andrew Thompson
e9abf79aac
Handle 'single term' error_logger reports
преди 14 години
Andrew Thompson
5b9a4c6161
Support warning messages, put commas between terms in report messages
преди 14 години
Andrew Thompson
a1fe3f4496
Remove riak_err as a dep; fix some warnings
преди 14 години
Andrew Thompson
6916a66d0f
Added badfun support, and tests for progress reports
преди 14 години
Andrew Thompson
83ed81eca5
Tests for error_logger:error_msg and friends
преди 14 години
Andrew Thompson
7696cc937d
More tests
преди 14 години
Andrew Thompson
bfe72cb17d
Add some tests to test logging crashes
преди 14 години
Andrew Thompson
245e9c50e3
Add a module that we can crash on-demand from eunit
преди 14 години
Andrew Thompson
279fef80b4
Cleanup test module a little
преди 14 години
Andrew Thompson
b65e005ebe
More tests
преди 14 години
Andrew Thompson
0bb86d52b8
Add a test backend for running with eunit
преди 14 години