mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: use echo provisioners in logging tests (#9008)
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user