diff options
author | Emile <hanemile@protonmail.com> | 2019-03-24 14:53:19 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-03-24 14:53:19 +0100 |
commit | ac62c83c634c02bd9fcd2a3649ee536ec43dd4c7 (patch) | |
tree | 73c3f79f9289fef4bb27e1afd0fb89030de7ab19 /metrics_test.go | |
parent | c7732abb9813348ebead18580828e1164ecb96a9 (diff) |
Diffstat (limited to 'metrics_test.go')
-rw-r--r-- | metrics_test.go | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/metrics_test.go b/metrics_test.go new file mode 100644 index 0000000..3e6a141 --- /dev/null +++ b/metrics_test.go @@ -0,0 +1,34 @@ +package main + +import "testing" + +func Test_initMetricPusher(t *testing.T) { + tests := []struct { + name string + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + initMetricPusher() + }) + } +} + +func Test_metricsPusher(t *testing.T) { + type args struct { + metricsBundlerURL string + metricsPusherDelay int64 + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + metricsPusher(tt.args.metricsBundlerURL, tt.args.metricsPusherDelay) + }) + } +} |