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:
parent
bdd91d2639
commit
f450720213
|
@ -192,6 +192,7 @@ func TestData(t *testing.T) {
|
||||||
Labels: KV{"severity": "warning", "job": "foo"},
|
Labels: KV{"severity": "warning", "job": "foo"},
|
||||||
Annotations: KV{"description": "something happened", "runbook": "foo"},
|
Annotations: KV{"description": "something happened", "runbook": "foo"},
|
||||||
StartsAt: startTime,
|
StartsAt: startTime,
|
||||||
|
Fingerprint: "9266ef3da838ad95",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Status: "resolved",
|
Status: "resolved",
|
||||||
|
@ -199,6 +200,7 @@ func TestData(t *testing.T) {
|
||||||
Annotations: KV{"description": "something else happened", "runbook": "foo"},
|
Annotations: KV{"description": "something else happened", "runbook": "foo"},
|
||||||
StartsAt: startTime,
|
StartsAt: startTime,
|
||||||
EndsAt: endTime,
|
EndsAt: endTime,
|
||||||
|
Fingerprint: "3b15fd163d36582e",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
GroupLabels: KV{"job": "foo"},
|
GroupLabels: KV{"job": "foo"},
|
||||||
|
@ -248,6 +250,7 @@ func TestData(t *testing.T) {
|
||||||
Labels: KV{"severity": "warning", "job": "foo"},
|
Labels: KV{"severity": "warning", "job": "foo"},
|
||||||
Annotations: KV{"description": "something happened", "runbook": "foo"},
|
Annotations: KV{"description": "something happened", "runbook": "foo"},
|
||||||
StartsAt: startTime,
|
StartsAt: startTime,
|
||||||
|
Fingerprint: "9266ef3da838ad95",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Status: "resolved",
|
Status: "resolved",
|
||||||
|
@ -255,6 +258,7 @@ func TestData(t *testing.T) {
|
||||||
Annotations: KV{"description": "something else happened", "runbook": "bar"},
|
Annotations: KV{"description": "something else happened", "runbook": "bar"},
|
||||||
StartsAt: startTime,
|
StartsAt: startTime,
|
||||||
EndsAt: endTime,
|
EndsAt: endTime,
|
||||||
|
Fingerprint: "c7e68cb08e3e67f9",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
GroupLabels: KV{},
|
GroupLabels: KV{},
|
||||||
|
|
Loading…
Reference in New Issue