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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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