> On Feb 17, 2020, at 10:42 PM, Ralph Goers <ralph.go...@dslextreme.com> wrote:
>
> This test is failing on Windows. I have been debugging it for the last 6
> hours. It is failing because it is trying to create the test log directory
> and Windows says it isn’t empty. The thing is, Files.delete has been called
> against all the files in the directory without error. I put a breakpoint when
> it tries to delete the folder and I can still see the file in the directory
> even though delete worked. I have also verified that the RollingFileManager
> closed the OutputStream. After the program terminates the file disappears but
> the directory is still there.
>
> Have I said before how much I hate Windows?
>
> Anyone have any idea why the file handle is not being released?
>
Actually, this whole test doesn’t make any sense. I don’t know what I was
thinking when I created it. It will never trigger the
OnStartupTriggeringPolicy since it uses a static variable to track the JVM
start time.
Ralph