Set stack for node and go integration tests

This commit is contained in:
Ian Wahbe 2021-08-27 19:04:42 -04:00
parent d82b560ae8
commit 4d93b70d79
2 changed files with 3 additions and 1 deletions

View file

@ -754,7 +754,8 @@ func TestAboutGo(t *testing.T) {
e.ImportDirectory(dir)
e.RunCommand("pulumi", "login", "--cloud-url", e.LocalURL())
stdout, _ := e.RunCommand("pulumi", "about")
e.RunCommand("pulumi", "stack", "select", "about-stack")
stdout, _ := e.RunCommand("pulumi", "about", "-t")
e.RunCommand("pulumi", "stack", "rm", "--yes")
// Assert we parsed the dependencies
assert.Contains(t, stdout, "github.com/BurntSushi/toml")

View file

@ -1152,6 +1152,7 @@ func TestAboutNodeJS(t *testing.T) {
e.RunCommand("yarn", "link", "@pulumi/pulumi")
e.RunCommand("yarn", "install")
e.RunCommand("pulumi", "login", "--cloud-url", e.LocalURL())
e.RunCommand("pulumi", "stack", "select", "about-nodejs")
stdout, _ := e.RunCommand("pulumi", "about")
e.RunCommand("pulumi", "stack", "rm", "--yes")
// Assert we parsed the dependencies