Skip to content

Commit

Permalink
Provider changes for VLAN
Browse files Browse the repository at this point in the history
  • Loading branch information
MalarvizhiK committed Mar 7, 2024
1 parent 83468bc commit e0e6059
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ package directlinkproviderv2_test

import (
"encoding/json"
"fmt"
"os"
"strconv"
"time"
Expand All @@ -38,16 +39,15 @@ import (
var configLoaded = false

func shouldSkipTest() {
Skip("skipping failing test")
if !configLoaded {
Skip("External configuration is not available, skipping...")
}
}

var _ = Describe(`DirectLinkProviderV2`, func() {
BeforeEach(func() {
Skip("Skipping Tests")
})
defer GinkgoRecover()
//Skip("Skipping")
fmt.Println("Entered here ")
err := godotenv.Load("../directlink.env")
It(`Successfully loading .env file`, func() {
if err == nil {
Expand Down Expand Up @@ -1226,7 +1226,6 @@ var _ = Describe(`DirectLinkProviderV2`, func() {
shouldSkipTest()
gatewayId := os.Getenv("GATEWAY_ID")
getGatewayOptions := serviceV1.NewGetGatewayOptions(gatewayId)
fmt.Printf("gateway id to delete %v", gatewayId)

// before a connect gateway can be deleted, it needs to have operational_status of provisioned. We need to wait for
// the new gateway to go to provisioned so we can delete it.
Expand Down

0 comments on commit e0e6059

Please sign in to comment.