Skip to content

Commit

Permalink
limit gateway fqdn test to devnet only
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Dec 25, 2023
1 parent 535c9b9 commit ad64911
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integrationtests/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"io"
"net/http"
"os"
"testing"
"time"

Expand Down Expand Up @@ -82,6 +83,12 @@ func TestGateWay(t *testing.T) {
- Destroy the deployment
*/

// make sure the test runs only on devnet
if network, _ := os.LookupEnv("NETWORK"); network != "dev" {
t.Skip()
return
}

fqdn := "hamada1.3x0.me" // points to node 11 devnet

terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
Expand Down

0 comments on commit ad64911

Please sign in to comment.