Skip to content

Commit

Permalink
chore: remove condition that denies using tunnels in US-East (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagosaucelabs authored Jul 17, 2024
1 parent dc0d065 commit 9491a68
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions internal/espresso/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ func Validate(p Project) error {
return errors.New(msg.MissingRegion)
}

if regio == region.USEast4 && p.Sauce.Tunnel.Name != "" {
return errors.New(msg.NoTunnelSupport)
}

if ok := config.ValidateVisibility(p.Sauce.Visibility); !ok {
return fmt.Errorf(msg.InvalidVisibility, p.Sauce.Visibility, strings.Join(config.ValidVisibilityValues, ","))
}
Expand Down
2 changes: 0 additions & 2 deletions internal/msg/errormsg.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ const (
InvalidVisibility = "'%s' is not a valid visibility value. Must be one of [%s]"
// InvalidLaunchingOption indicates the launching option is invalid
InvalidLaunchingOption = "illegal launching option '%s', must be %s"
// NoTunnelSupport indicates lack of tunnel support for the specified region.
NoTunnelSupport = "tunnels are currently not supported in your specified region"
// NoEmulatorSupport indicates lack of emulator support for the specified region.
NoEmulatorSupport = "emulators are currently not supported in your specified region"
// NoFrameworkSupport indicates lack of framework support for the specified region.
Expand Down
4 changes: 0 additions & 4 deletions internal/xcuitest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@ func Validate(p Project) error {
return errors.New(msg.MissingRegion)
}

if regio == region.USEast4 && p.Sauce.Tunnel.Name != "" {
return errors.New(msg.NoTunnelSupport)
}

if p.Sauce.LaunchOrder != "" && p.Sauce.LaunchOrder != config.LaunchOrderFailRate {
return fmt.Errorf(msg.InvalidLaunchingOption, p.Sauce.LaunchOrder, string(config.LaunchOrderFailRate))
}
Expand Down

0 comments on commit 9491a68

Please sign in to comment.