summaryrefslogtreecommitdiff
path: root/src/test/test_logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_logging.c')
-rw-r--r--src/test/test_logging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_logging.c b/src/test/test_logging.c
index 4111a46eb9..7e558f83b1 100644
--- a/src/test/test_logging.c
+++ b/src/test/test_logging.c
@@ -96,6 +96,8 @@ test_sigsafe_err(void *arg)
close(STDERR_FILENO);
log_err(LD_BUG, "Say, this isn't too cool.");
tor_log_err_sigsafe("Minimal.\n", NULL);
+
+ set_log_time_granularity(100*1000);
tor_log_err_sigsafe("Testing any ",
"attempt to manually log ",
"from a signal.\n",