From 54f451aa34dd60c457edaca926da05892a72959c Mon Sep 17 00:00:00 2001 From: Drew Bailey <2614075+drewbailey@users.noreply.github.com> Date: Fri, 12 Jun 2020 08:42:53 -0400 Subject: [PATCH] changelog --- CHANGELOG.md | 2 ++ client/logmon/logmon_test.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3070ad98ef94..060049556308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,8 @@ BUG FIXES: * api: Fixed a bug where setting connect sidecar task resources could fail [[GH-7993](https://github.com/hashicorp/nomad/issues/7993)] * client: Fixed a bug where artifact downloads failed on redirects [[GH-7854](https://github.com/hashicorp/nomad/issues/7854)] * csi: Validate empty volume arguments in API. [[GH-8027](https://github.com/hashicorp/nomad/issues/8027)] + * client: Fixed a bug where stdout/stderr were not properly reopened for + community task drivers. [[GH-8155](https://github.com/hashicorp/nomad/issues/8155)] ## 0.11.2 (May 14, 2020) diff --git a/client/logmon/logmon_test.go b/client/logmon/logmon_test.go index 8ad7dffe40bb..a3e62408b4ae 100644 --- a/client/logmon/logmon_test.go +++ b/client/logmon/logmon_test.go @@ -234,7 +234,8 @@ func TestLogmon_Start_restart(t *testing.T) { }) require.True(impl.tl.IsRunning()) - // Close stdout and assert that logmon no longer writes to the file + // Close stderr and assert that logmon no longer writes to the file + // Keep stdout open to ensure that IsRunning requires both require.NoError(stderr.Close()) testutil.WaitForResult(func() (bool, error) {