@@ -472,7 +472,7 @@ func TestJiraNotify(t *testing.T) {
472472 Summary : "[FIRING:1] test (vm1 critical)" ,
473473 Description : "\n \n # Alerts Firing:\n \n Labels:\n - alertname = test\n - instance = vm1\n - severity = critical\n \n Annotations:\n \n Source: \n \n \n \n \n " ,
474474 Issuetype : & idNameValue {Name : "Incident" },
475- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
475+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
476476 Project : & issueProject {Key : "OPS" },
477477 Priority : & idNameValue {Name : "High" },
478478 },
@@ -516,7 +516,7 @@ func TestJiraNotify(t *testing.T) {
516516 Summary : "[FIRING:1] test (vm1 MINOR MONITORING critical)" ,
517517 Description : "\n \n # Alerts Firing:\n \n Labels:\n - alertname = test\n - instance = vm1\n - issue_type = MINOR\n - project = MONITORING\n - severity = critical\n \n Annotations:\n \n Source: \n \n \n \n \n " ,
518518 Issuetype : & idNameValue {Name : "MINOR" },
519- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
519+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
520520 Project : & issueProject {Key : "MONITORING" },
521521 Priority : & idNameValue {Name : "High" },
522522 },
@@ -568,7 +568,7 @@ func TestJiraNotify(t *testing.T) {
568568 Summary : strings .Repeat ("A" , maxSummaryLenRunes - 1 ) + "…" ,
569569 Description : "\n \n # Alerts Firing:\n \n Labels:\n - alertname = test\n - instance = vm1\n \n Annotations:\n \n Source: \n \n \n \n \n " ,
570570 Issuetype : & idNameValue {Name : "Incident" },
571- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
571+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
572572 Project : & issueProject {Key : "OPS" },
573573 },
574574 },
@@ -631,7 +631,7 @@ func TestJiraNotify(t *testing.T) {
631631 Summary : "[FIRING:1] test (vm1)" ,
632632 Description : "\n \n # Alerts Firing:\n \n Labels:\n - alertname = test\n - instance = vm1\n \n Annotations:\n \n Source: \n \n \n \n \n " ,
633633 Issuetype : & idNameValue {Name : "Incident" },
634- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
634+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
635635 Project : & issueProject {Key : "OPS" },
636636 Priority : & idNameValue {Name : "High" },
637637 },
@@ -686,7 +686,7 @@ func TestJiraNotify(t *testing.T) {
686686 Summary : "[RESOLVED] test (vm1)" ,
687687 Description : "\n \n \n # Alerts Resolved:\n \n Labels:\n - alertname = test\n - instance = vm1\n \n Annotations:\n \n Source: \n \n \n \n " ,
688688 Issuetype : & idNameValue {Name : "Incident" },
689- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
689+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
690690 Project : & issueProject {Key : "OPS" },
691691 },
692692 },
@@ -740,7 +740,7 @@ func TestJiraNotify(t *testing.T) {
740740 Summary : "[FIRING:1] test (vm1)" ,
741741 Description : "\n \n # Alerts Firing:\n \n Labels:\n - alertname = test\n - instance = vm1\n \n Annotations:\n \n Source: \n \n \n \n \n " ,
742742 Issuetype : & idNameValue {Name : "Incident" },
743- Labels : []string {"ALERT{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b }" , "alertmanager" , "test" },
743+ Labels : []string {"ALERT{2619b3472463c746278b332eae12b978ff97478bd1cdaa911b06cd2c134e0382 }" , "alertmanager" , "test" },
744744 Project : & issueProject {Key : "OPS" },
745745 },
746746 },
0 commit comments