summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-11 07:15:21 +0100
committerGitHub <noreply@github.com>2022-02-11 07:15:21 +0100
commit1f4e5c6daf4a88abd0982963fdd559dd6f15bd21 (patch)
tree26747188db100a827e53d44fe382f914e2b6b1ff
parentdaf27dde3f3ab52ffb383c141959a548d4a0455d (diff)
parent19f65290529ac642da419ac77003ddaa70d0cc67 (diff)
downloadvyos-1x-1f4e5c6daf4a88abd0982963fdd559dd6f15bd21.tar.gz
vyos-1x-1f4e5c6daf4a88abd0982963fdd559dd6f15bd21.zip
Merge pull request #1216 from sever-sever/T3872
smoketest: T3872: Fix token check for monitoring test
-rwxr-xr-xsmoketest/scripts/cli/test_service_monitoring_telegraf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_monitoring_telegraf.py b/smoketest/scripts/cli/test_service_monitoring_telegraf.py
index b857926e2..09937513e 100755
--- a/smoketest/scripts/cli/test_service_monitoring_telegraf.py
+++ b/smoketest/scripts/cli/test_service_monitoring_telegraf.py
@@ -54,7 +54,7 @@ class TestMonitoringTelegraf(VyOSUnitTestSHIM.TestCase):
# Check telegraf config
self.assertIn(f'organization = "{org}"', config)
- self.assertIn(token, config)
+ self.assertIn(f' token = "$INFLUX_TOKEN"', config)
self.assertIn(f'urls = ["{url}:{port}"]', config)
self.assertIn(f'bucket = "{bucket}"', config)