mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-18 19:46:54 +00:00
Remove isFifoTopic test
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
This commit is contained in:
parent
8d3b1b5896
commit
889fa96439
@ -19,12 +19,6 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestIsFIFO(t *testing.T) {
|
||||
require.True(t, isFIFOTopic("arn:aws:sns:us-east-2:624413706616:snsTestTopic.fifo"))
|
||||
require.False(t, isFIFOTopic("arn:aws:sns:us-east-2:624413706616:snsTestTopic"))
|
||||
require.False(t, isFIFOTopic("bad"))
|
||||
}
|
||||
|
||||
func TestValidateAndTruncateMessage(t *testing.T) {
|
||||
sBuff := make([]byte, 257*1024, 257*1024)
|
||||
for i := range sBuff {
|
||||
|
Loading…
Reference in New Issue
Block a user