pulumi/tests/integration/custom_timeouts/custom_timeouts_test.go
Lee Briggs 09c73c1c9b
add build tags to all integration tests (#5271)
* add build tags to all integration tests

* fix go sdk imports

* make transformation Dirs global
2020-09-02 09:11:15 -07:00

34 lines
733 B
Go

// +build python all
package ints
import (
"path/filepath"
"testing"
"github.com/pulumi/pulumi/pkg/v2/testing/integration"
)
func TestCustomTimeouts(t *testing.T) {
opts := &integration.ProgramTestOptions{
Dir: filepath.Join(".", "python", "success"),
Dependencies: []string{
filepath.Join("..", "..", "..", "sdk", "python", "env", "src"),
},
Quick: true,
NoParallel: true,
}
integration.ProgramTest(t, opts)
opts = &integration.ProgramTestOptions{
Dir: filepath.Join(".", "python", "failure"),
Dependencies: []string{
filepath.Join("..", "..", "..", "sdk", "python", "env", "src"),
},
Quick: true,
NoParallel: true,
ExpectFailure: true,
}
integration.ProgramTest(t, opts)
}