From 5cc08db2b277b95564e2cc8060720eb0dd8a72c0 Mon Sep 17 00:00:00 2001 From: David Lee Date: Mon, 11 Sep 2023 17:39:46 -0400 Subject: [PATCH] test --- pkg/verifier/aws/entry_point.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/verifier/aws/entry_point.go b/pkg/verifier/aws/entry_point.go index e7f92c65..6bb83631 100644 --- a/pkg/verifier/aws/entry_point.go +++ b/pkg/verifier/aws/entry_point.go @@ -5,6 +5,7 @@ import ( "fmt" "os" "strconv" + "time" awsTools "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ec2" @@ -170,6 +171,9 @@ func (a *AwsVerifier) ValidateEgress(vei verifier.ValidateEgressInput) *output.O keyPair: vei.ImportKeyPair, }) + // SET WAIT AFTER EC2 CREATE - DAVID + time.Sleep(10 * time.Minute) + //If securitygroup was created by network-verifier, delete it as part of cleanup if cleanupSecurityGroup { defer CleanupSecurityGroup(vei, a)