summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/updater_checks.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/updater_checks.bats b/tests/updater_checks.bats
index 6444c081cc..4f39270776 100755
--- a/tests/updater_checks.bats
+++ b/tests/updater_checks.bats
@@ -56,6 +56,9 @@ setup() {
# Run the updater, with the override so that it uses the local repo we have at hand
# Try to run the installed, if any, otherwise just run the one from the repo
export NETDATA_LOCAL_TARBAL_OVERRIDE="${PWD}"
+ # Disable random sleep / splay for netdata-updater to avoid sampede effect
+ # of many agents (dis|re)connecting too quickly all at onace to Netdata Cloud
+ unset RANDOM; export RANDOM=0
/etc/cron.daily/netdata-updater || ./packaging/installer/netdata-updater.sh
! grep "new_installation" "${ENV}"
}