summaryrefslogtreecommitdiffstats
path: root/test/functional/configs/stats.conf
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/configs/stats.conf')
-rw-r--r--test/functional/configs/stats.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf
index bfa39b426..ba6a5fe9c 100644
--- a/test/functional/configs/stats.conf
+++ b/test/functional/configs/stats.conf
@@ -71,6 +71,14 @@ classifier {
cache {
server = {= env.REDIS_SERVER =}
}
+
+ {% if env.STATS_PER_USER ~= '' %}
+ per_user = <<EOD
+return function(task)
+ return task:get_principal_recipient()
+end
+EOD;
+ {% endif %}
}
lua = "{= env.TESTDIR =}/lua/test_coverage.lua";