mirror of https://github.com/sbt/sbt.git
Document why sleeps are needed in `export-jars` test.
Git blaming reveals the intent of sleeping after file modification
that was described in 02f666ec0e commit.
Let's put it straight into source code.
Also, added a new lines before each sleep command to better signal
the pause.
This commit is contained in:
parent
f9940fc430
commit
d5228c592a
|
|
@ -3,9 +3,12 @@ $ copy-file changes/B.scala B.scala
|
|||
$ copy-file changes/A1.scala a/A.scala
|
||||
> run 1
|
||||
$ copy-file changes/A2.scala a/A.scala
|
||||
|
||||
# done this way because last modified times often have ~1s resolution
|
||||
$ sleep 2000
|
||||
> run 2
|
||||
$ copy-file changes/A3.scala a/A.scala
|
||||
|
||||
$ sleep 2000
|
||||
> run 3
|
||||
|
||||
|
|
@ -15,8 +18,10 @@ $ copy-file changes/build2.sbt build.sbt
|
|||
$ copy-file changes/A1.scala a/A.scala
|
||||
> run 1
|
||||
$ copy-file changes/A2.scala a/A.scala
|
||||
|
||||
$ sleep 2000
|
||||
> run 2
|
||||
$ copy-file changes/A3.scala a/A.scala
|
||||
|
||||
$ sleep 2000
|
||||
> run 3
|
||||
> run 3
|
||||
|
|
|
|||
Loading…
Reference in New Issue