diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-06-29 17:33:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-29 17:33:21 +0000 |
commit | 986b401133b52fada9ec014c9e902660396f6880 (patch) | |
tree | f2eff56b676a88cc200df34baff77c854a0f081e /daemon | |
parent | 2f5e6ab14f695392e30e42cf97db4870abafc881 (diff) |
fix_unit_test: Fix the unittest execution (#9445)
Fix unit test execution( ` Cannot create unique machine id file`).
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index 43c3afac71..158237406c 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -995,6 +995,7 @@ int main(int argc, char **argv) { default_rrd_update_every = 1; default_rrd_memory_mode = RRD_MEMORY_MODE_RAM; default_health_enabled = 0; + registry_init(); if(rrd_init("unittest", NULL)) { fprintf(stderr, "rrd_init failed for unittest\n"); return 1; |