class: RegressionTests::PipeStreamTest
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 27 Mar 2014 17:33:11 +0100
changeset 1110 a38d8f5208fd
parent 1109 ad8866ade273
child 1111 15a933b0f58b
class: RegressionTests::PipeStreamTest changed: #testPipeWriteRead - limit number of thread on Windows (there's limit in BCC5.5 libc)
RegressionTests__PipeStreamTest.st
--- a/RegressionTests__PipeStreamTest.st	Thu Mar 27 17:26:13 2014 +0100
+++ b/RegressionTests__PipeStreamTest.st	Thu Mar 27 17:33:11 2014 +0100
@@ -17,6 +17,10 @@
 
     count := 1000.
     threads := 200.
+    "/ There's limit to 50 open files in BCC5.5 libc, sigh.
+    OperatingSystem isMSWINDOWSlike ifTrue:[
+        threads := 20.
+    ].
     ok := true.
     blocker := Semaphore new: threads negated + 1.
     makeReader := [ :stream |