Skip to content

Commit

Permalink
conditionally configuring binary testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Jul 3, 2020
1 parent b893786 commit 80548b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azurerm/internal/acceptance/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ import (
var once sync.Once

func init() {
// unit testing
if os.Getenv("TF_ACC") == "" {
return
}

once.Do(func() {
azureProvider := provider.TestAzureProvider().(*schema.Provider)

Expand Down
Binary file added tf.zip
Binary file not shown.

0 comments on commit 80548b4

Please sign in to comment.