diff --git a/cloud_watch_logger_test.go b/cloud_watch_logger_test.go index 13ed72f..c1327e8 100644 --- a/cloud_watch_logger_test.go +++ b/cloud_watch_logger_test.go @@ -2,6 +2,7 @@ package log_test import ( "testing" + "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" @@ -65,4 +66,6 @@ func TestCloudWatchLogger(t *testing.T) { }); err != nil { t.Fatalf("failed to write Debug log message") } + + time.Sleep(time.Second) }