File should be closed before rename 06/95106/10
authorIaroslav <iaroslav.kholiavko@pantheon.tech>
Wed, 10 Feb 2021 09:47:03 +0000 (11:47 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 21 Feb 2021 15:52:32 +0000 (16:52 +0100)
commit8c40e43a0dcfe4c3e85bce3200efe3df6a79c0ef
treee096296ae5082f7db0859898bf44337f2f445107
parentaa9a4c4f89aa9414834c4c67f082a4d7b7e15540
File should be closed before rename

Rename file will make clone of file with new name and remove initial
file. This file not closed while removing so it will make impossible
file deletion on Windows due to default locking.

JIRA: NETCONF-756
Change-Id: I0f81507285811607a7ee8d40c0b50018603dd557
Signed-off-by: Iaroslav Kholiavko <iaroslav.kholiavko@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/TesttoolParameters.java