summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-13 20:20:09 -0400
committerBen Gamari <ben@smart-cactus.org>2019-06-13 23:07:06 -0400
commitb4ff741e3d6419695f369b722f9be890f1ff237c (patch)
treee815e22ea513fa3c261eb852acf5c157c8475455
parent4bf79ef7bbf89d534f3b2cbe63321b00628be081 (diff)
downloadhaskell-wip/T16819.tar.gz
testsuite: Skip hDuplicateTo001 in concurrent wayswip/T16819
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, [''])