summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-13 20:20:09 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-15 23:33:13 -0400
commitbeacb6fd898db43382fedf8b9a7e6657e53fca9a (patch)
treec666fc69a9d8d5d1bbc9a3658d66f3c1223c4d82
parent0d2a4258c1a025c2610a415e951efe4e2ed8970a (diff)
downloadhaskell-beacb6fd898db43382fedf8b9a7e6657e53fca9a.tar.gz
testsuite: Skip hDuplicateTo001 in concurrent ways
As noted in #16819, this operation is racy under concurrent execution.
-rw-r--r--libraries/base/tests/IO/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/base/tests/IO/all.T b/libraries/base/tests/IO/all.T
index 1912be7c94..2eb37e02fa 100644
--- a/libraries/base/tests/IO/all.T
+++ b/libraries/base/tests/IO/all.T
@@ -84,7 +84,8 @@ test('hGetBuf001',
expect_fail_if_windows],
compile_and_run, ['-package unix'])
-test('hDuplicateTo001', [], compile_and_run, [''])
+# As discussed in #16819, this test is racy in a threaded environment.
+test('hDuplicateTo001', [omit_ways(concurrent_ways)], compile_and_run, [''])
test('countReaders001', [], compile_and_run, [''])