diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-01-27 09:07:56 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-01-27 09:07:56 +0000 |
commit | 311622a6d1f2a10b2bcf7baf34d7c41fa5b25f25 (patch) | |
tree | 48eb6fe3e7531948596608dbb0801d3b66e84706 /test/files/jvm | |
parent | daa6f82dd130464a1a318b31b1055e5c00d99673 (diff) | |
download | scala-311622a6d1f2a10b2bcf7baf34d7c41fa5b25f25.tar.gz scala-311622a6d1f2a10b2bcf7baf34d7c41fa5b25f25.tar.bz2 scala-311622a6d1f2a10b2bcf7baf34d7c41fa5b25f25.zip |
Made actor-receivewithin test deterministic.
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/actor-receivewithin.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/jvm/actor-receivewithin.scala b/test/files/jvm/actor-receivewithin.scala index c6818cf211..a5c87c2722 100644 --- a/test/files/jvm/actor-receivewithin.scala +++ b/test/files/jvm/actor-receivewithin.scala @@ -29,6 +29,7 @@ object A extends Actor { } } B ! 'next + receive { case 'done => } cnt = 0 while (cnt < 501) { cnt += 1 @@ -56,6 +57,7 @@ object B extends Actor { for (_ <- 1 to 500) { A ! 'msg2 } + A ! 'done } } } |