Disable tfdleak_multiple on platforms other than Windows (#14624)

This commit is contained in:
Timothee Cour
2020-06-11 12:54:32 -07:00
committed by GitHub
parent 6aa971d39f
commit c83a22b76e

View File

@@ -20,4 +20,7 @@ proc testFdLeak() =
count.inc
doAssert count == 0, "Leaked " & $count & " times"
when isMainModule: testFdLeak()
when defined(windows):
# tfdleak was only flaky for windows (and for netbsd, there is still a bug)
# note that this test is quite slow, 87 sec on windows.
testFdLeak()