Skip to content

Commit e9a5210

Browse files
committed
Skip errors like 'InvalidArgumentException: Read from timestamp feature is not currently available'.
1 parent 79e20d4 commit e9a5210

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

internal/service/firehose/delivery_stream_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ import (
2424
"github.com/hashicorp/terraform-provider-aws/names"
2525
)
2626

27+
func init() {
28+
acctest.RegisterServiceErrorCheckFunc(names.FirehoseServiceID, testAccErrorCheckSkip)
29+
}
30+
31+
func testAccErrorCheckSkip(t *testing.T) resource.ErrorCheckFunc {
32+
return acctest.ErrorCheckSkipMessagesContaining(t,
33+
"Read from timestamp feature is not currently available",
34+
)
35+
}
36+
2737
func TestAccFirehoseDeliveryStream_basic(t *testing.T) {
2838
ctx := acctest.Context(t)
2939
var stream types.DeliveryStreamDescription

0 commit comments

Comments
 (0)