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"
|
"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) {
|
func TestValidateAndTruncateMessage(t *testing.T) {
|
||||||
sBuff := make([]byte, 257*1024, 257*1024)
|
sBuff := make([]byte, 257*1024, 257*1024)
|
||||||
for i := range sBuff {
|
for i := range sBuff {
|
||||||
|
|
Loading…
Reference in New Issue