update to 1.13.4; create directory /etc/telegraf/telegraf.d/ OBS-URL: https://build.opensuse.org/request/show/781648 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/telegraf?expand=0&rev=22
51 lines
1.3 KiB
Diff
51 lines
1.3 KiB
Diff
From a79b89f1037f705d606374b63f69e82406d42a4c Mon Sep 17 00:00:00 2001
|
|
From: Johannes Kastl <kastl@b1-systems.de>
|
|
Date: Wed, 26 Feb 2020 16:40:19 +0100
|
|
Subject: [PATCH] plugins/outputs/sql/sql_test.go: Generic SQL output plugin
|
|
for Telegraf (patch taken from openSUSE RPM package of telegraf 1.12.6)
|
|
|
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
|
---
|
|
plugins/outputs/sql/sql_test.go | 29 +++++++++++++++++++++++++++++
|
|
1 file changed, 29 insertions(+)
|
|
create mode 100644 plugins/outputs/sql/sql_test.go
|
|
|
|
diff --git a/plugins/outputs/sql/sql_test.go b/plugins/outputs/sql/sql_test.go
|
|
new file mode 100644
|
|
index 0000000000000000000000000000000000000000..80d3b7104f9c42f46d75f2335a73f237282275e8
|
|
--- /dev/null
|
|
+++ b/plugins/outputs/sql/sql_test.go
|
|
@@ -0,0 +1,29 @@
|
|
+package sql
|
|
+
|
|
+import (
|
|
+ "testing"
|
|
+ // "time"
|
|
+ // "github.com/influxdata/telegraf"
|
|
+ // "github.com/influxdata/telegraf/metric"
|
|
+ // "github.com/stretchr/testify/assert"
|
|
+)
|
|
+
|
|
+func TestSqlQuote(t *testing.T) {
|
|
+ if testing.Short() {
|
|
+ t.Skip("Skipping integration test in short mode")
|
|
+ }
|
|
+
|
|
+}
|
|
+
|
|
+func TestSqlCreateStatement(t *testing.T) {
|
|
+ if testing.Short() {
|
|
+ t.Skip("Skipping integration test in short mode")
|
|
+ }
|
|
+
|
|
+}
|
|
+
|
|
+func TestSqlInsertStatement(t *testing.T) {
|
|
+ if testing.Short() {
|
|
+ t.Skip("Skipping integration test in short mode")
|
|
+ }
|
|
+}
|
|
--
|
|
2.25.1
|
|
|