Skip to content

Commit

Permalink
test: Log test output to stderr in the mtail exec test.
Browse files Browse the repository at this point in the history
This helps debug hangs and crashes.
  • Loading branch information
jaqx0r committed May 6, 2024
1 parent 28136c2 commit 8005751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/mtail/exec_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google Inc. ll Rights Reserved.
// Copyright 2024 Google Inc. All Rights Reserved.
// This file is available under the Apache license.

package mtail_test
Expand Down Expand Up @@ -39,6 +39,7 @@ func TestExecMtail(t *testing.T) {
"-progs",
"../../examples",
"-logs", "testdata/rsyncd.log",
"--logtostderr",
"-one_shot",
"-one_shot_format=prometheus",
"-port", fmt.Sprintf("%d", testutil.FreePort(t)),
Expand Down

0 comments on commit 8005751

Please sign in to comment.
  NODES
Community 1
Intern 1
Note 1
os 6
text 1
Users 1
web 1