* add build tags to all integration tests * fix go sdk imports * make transformation Dirs global
28 lines
621 B
Go
28 lines
621 B
Go
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.
|
|
// +build nodejs all
|
|
|
|
package ints
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/pulumi/pulumi/pkg/v2/testing/integration"
|
|
)
|
|
|
|
// Test that the engine is capable of assuming control of a resource that was external.
|
|
func TestImportAcquire(t *testing.T) {
|
|
t.Skipf("import does not yet work with dynamic providers")
|
|
|
|
integration.ProgramTest(t, &integration.ProgramTestOptions{
|
|
Dir: "step1",
|
|
Dependencies: []string{"@pulumi/pulumi"},
|
|
Quick: true,
|
|
EditDirs: []integration.EditDir{
|
|
{
|
|
Dir: "step2",
|
|
Additive: true,
|
|
},
|
|
},
|
|
})
|
|
}
|