From 1fe3dbebfb6c9b4cbda5a24c24182e2a6c94412c Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Sun, 2 Aug 2020 11:48:42 +0000 Subject: [PATCH] set telemetryReporting default val to false --- src/common/src/tglobal.c | 2 +- tests/pytest/util/dnodes.py | 1 + tests/script/sh/deploy.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index c3dc078428..9528d3705c 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -40,7 +40,7 @@ uint16_t tsSyncPort = 6040; int32_t tsStatusInterval = 1; // second int32_t tsNumOfMnodes = 3; int32_t tsEnableVnodeBak = 1; -int32_t tsEnableTelemetryReporting = 1; +int32_t tsEnableTelemetryReporting = 0; // common int32_t tsRpcTimer = 1000; diff --git a/tests/pytest/util/dnodes.py b/tests/pytest/util/dnodes.py index ec3865f4f2..2e7732ea4f 100644 --- a/tests/pytest/util/dnodes.py +++ b/tests/pytest/util/dnodes.py @@ -191,6 +191,7 @@ class TDDnode: self.cfg("charset", "UTF-8") self.cfg("asyncLog", "0") self.cfg("anyIp", "0") + self.cfg("tsEnableTelemetryReporting", "0") self.cfg("dDebugFlag", "135") self.cfg("mDebugFlag", "135") self.cfg("sdbDebugFlag", "135") diff --git a/tests/script/sh/deploy.sh b/tests/script/sh/deploy.sh index 90ca14277b..1a0d667f88 100755 --- a/tests/script/sh/deploy.sh +++ b/tests/script/sh/deploy.sh @@ -147,5 +147,6 @@ echo "asyncLog 0" >> $TAOS_CFG echo "numOfMnodes 1" >> $TAOS_CFG echo "locale en_US.UTF-8" >> $TAOS_CFG echo "fsync 0" >> $TAOS_CFG +echo "tsEnableTelemetryReporting 0" >> $TAOS_CFG echo " " >> $TAOS_CFG -- GitLab