chore: use echo provisioners in logging tests (#9008)

This commit is contained in:
Colin Adler
2023-08-09 14:03:02 -05:00
committed by GitHub
parent f334b66178
commit 612f1c6a55

View File

@ -1309,6 +1309,7 @@ func TestServer(t *testing.T) {
"--in-memory",
"--http-address", ":0",
"--access-url", "http://example.com",
"--provisioner-daemons-echo",
"--log-human", fiName,
)
clitest.Start(t, root)
@ -1326,6 +1327,7 @@ func TestServer(t *testing.T) {
"--in-memory",
"--http-address", ":0",
"--access-url", "http://example.com",
"--provisioner-daemons-echo",
"--log-human", fi,
)
clitest.Start(t, root)
@ -1343,6 +1345,7 @@ func TestServer(t *testing.T) {
"--in-memory",
"--http-address", ":0",
"--access-url", "http://example.com",
"--provisioner-daemons-echo",
"--log-json", fi,
)
clitest.Start(t, root)
@ -1363,6 +1366,7 @@ func TestServer(t *testing.T) {
"--in-memory",
"--http-address", ":0",
"--access-url", "http://example.com",
"--provisioner-daemons-echo",
"--log-stackdriver", fi,
)
// Attach pty so we get debug output from the command if this test
@ -1397,6 +1401,7 @@ func TestServer(t *testing.T) {
"--in-memory",
"--http-address", ":0",
"--access-url", "http://example.com",
"--provisioner-daemons-echo",
"--log-human", fi1,
"--log-json", fi2,
"--log-stackdriver", fi3,