Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Ensure file is closed in Supervisor test (#35588)
**Description:** Follow up to #35468. This should fix issues like the following: ``` testing.go:1231: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestSupervisorInfoLoggingLevel3383092187\001\supervisor_log.log: The process cannot access the file because it is being used by another process. ``` I believe this error is caused by the temp directory doing a cleanup before all `defer` statements can run, but I'm not sure. This is how I've seen this error fixed in other tests.
- Loading branch information