diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-11 07:15:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 07:15:21 +0100 |
commit | 1f4e5c6daf4a88abd0982963fdd559dd6f15bd21 (patch) | |
tree | 26747188db100a827e53d44fe382f914e2b6b1ff /smoketest/scripts | |
parent | daf27dde3f3ab52ffb383c141959a548d4a0455d (diff) | |
parent | 19f65290529ac642da419ac77003ddaa70d0cc67 (diff) | |
download | vyos-1x-1f4e5c6daf4a88abd0982963fdd559dd6f15bd21.tar.gz vyos-1x-1f4e5c6daf4a88abd0982963fdd559dd6f15bd21.zip |
Merge pull request #1216 from sever-sever/T3872
smoketest: T3872: Fix token check for monitoring test
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_service_monitoring_telegraf.py | 2 |
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) |