From 0aefb14836e10f44e88484a3605b87f064debfce Mon Sep 17 00:00:00 2001 From: Jonathan Eisenstein <408427+jeisen@users.noreply.github.com> Date: Tue, 2 Apr 2019 17:34:03 -0400 Subject: [PATCH] Clean up SQS resources I've noticed that none of the test run SQS queues are ever cleaned up, even after successful execution. It looks like the AWS teardown was never actually being invoked from anywhere. --- infrastructure/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/aws/aws.go b/infrastructure/aws/aws.go index edec90e0..7dbb6510 100644 --- a/infrastructure/aws/aws.go +++ b/infrastructure/aws/aws.go @@ -146,7 +146,7 @@ func (infra *AwsInfrastructure) Setup() (func(), error) { } infra.queueURL = queueURL return func() { - + infra.teardown() }, nil }