Add fingerprint to expected template test output (#1968)

This was recently added and the test needs to be updated.

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
stuart nelson 2019-07-23 09:57:24 +02:00 committed by Simon Pasquier
parent bdd91d2639
commit f450720213
1 changed files with 4 additions and 0 deletions

View File

@ -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{},