Skip to content

Commit

Permalink
running: fix unit test
Browse files Browse the repository at this point in the history
Fixed unit test for testing log output.

Follow up #124
  • Loading branch information
better0fdead committed Oct 26, 2022
1 parent b4931ea commit 5996f99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/running/instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ func TestInstanceLogger(t *testing.T) {
defer writer.Close()
defer reader.Close()
logger := ttlog.NewCustomLogger(writer, "", 0)
binPath, _ := os.Executable()
consoleSock := filepath.Join(filepath.Dir(binPath), "test.sock")
consoleSock := ""
inst := startTestInstance(t, "log_check_test_app", consoleSock, logger)
t.Cleanup(func() { cleanupTestInstance(inst) })

Expand Down

0 comments on commit 5996f99

Please sign in to comment.