From f450720213de12237437552fa8e86b715e0baafa Mon Sep 17 00:00:00 2001 From: stuart nelson Date: Tue, 23 Jul 2019 09:57:24 +0200 Subject: [PATCH] Add fingerprint to expected template test output (#1968) This was recently added and the test needs to be updated. Signed-off-by: stuart nelson --- template/template_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/template_test.go b/template/template_test.go index 7b503040..569cfc0c 100644 --- a/template/template_test.go +++ b/template/template_test.go @@ -192,6 +192,7 @@ func TestData(t *testing.T) { Labels: KV{"severity": "warning", "job": "foo"}, Annotations: KV{"description": "something happened", "runbook": "foo"}, StartsAt: startTime, + Fingerprint: "9266ef3da838ad95", }, { Status: "resolved", @@ -199,6 +200,7 @@ func TestData(t *testing.T) { Annotations: KV{"description": "something else happened", "runbook": "foo"}, StartsAt: startTime, EndsAt: endTime, + Fingerprint: "3b15fd163d36582e", }, }, GroupLabels: KV{"job": "foo"}, @@ -248,6 +250,7 @@ func TestData(t *testing.T) { Labels: KV{"severity": "warning", "job": "foo"}, Annotations: KV{"description": "something happened", "runbook": "foo"}, StartsAt: startTime, + Fingerprint: "9266ef3da838ad95", }, { Status: "resolved", @@ -255,6 +258,7 @@ func TestData(t *testing.T) { Annotations: KV{"description": "something else happened", "runbook": "bar"}, StartsAt: startTime, EndsAt: endTime, + Fingerprint: "c7e68cb08e3e67f9", }, }, GroupLabels: KV{},