diff options
author | liu fengyun <liu@fengy.me> | 2017-02-14 15:21:13 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2017-02-14 15:21:17 +0100 |
commit | 5692163f9d9105fc42bb1a8a2f91712a278dbaf4 (patch) | |
tree | 469552343bde4289702e1c4ad3e296e505d25467 /compiler/test/debug | |
parent | 47901c09885f8931d82a3bbc469985a50f790091 (diff) | |
download | dotty-5692163f9d9105fc42bb1a8a2f91712a278dbaf4.tar.gz dotty-5692163f9d9105fc42bb1a8a2f91712a278dbaf4.tar.bz2 dotty-5692163f9d9105fc42bb1a8a2f91712a278dbaf4.zip |
increase command wait time to 1s
This change helps to reduce non-determinism in the test. The problem
can happen when two consecute commands interfere:
[expect] [jdb]
cmd1 ---->
sleep 0.5 <--- part 1 of rep1
read & match buffer
clear buffer
cmd2 ---->
<--- part 2 of rep1
Diffstat (limited to 'compiler/test/debug')
-rwxr-xr-x | compiler/test/debug/Gen.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/debug/Gen.scala b/compiler/test/debug/Gen.scala index f7a5cc432..dee6b33e3 100755 --- a/compiler/test/debug/Gen.scala +++ b/compiler/test/debug/Gen.scala @@ -19,7 +19,7 @@ import scala.collection.mutable.ListBuffer object Gen { val MainObject = "Test" - val CommandWait = 0.5 + val CommandWait = 1 sealed trait Tree |