NICTA / scoobi

A Scala productivity framework for Hadoop.
http://nicta.github.com/scoobi/
482 stars 97 forks source link

Test failure (not always reproduced) #201

Closed tonymorris closed 11 years ago

tonymorris commented 11 years ago

Occasionally SimpleDListsSpec "23. (pd + pd) + gbk + reducer" will fail at revision 25b8005a5116ce4a526ae8e42fd1bb271e467fb6 with the sbt command:

> test-only -- -include && hadoop --

Test failure:

[error] x 23. (pd + pd) + gbk + reducer
[error]  'Vector(start)' is not equal to 'Vector(start, start)' (SimpleDListsSpec.scala:133)
[error] Expected: ...start[, start])
[error] Actual:   ...start[])
etorreborre commented 11 years ago

I can reproduce the issue by running these examples in local mode:

(1 to 10) foreach { i =>
  "xxx_"+i >> { implicit sc: SC =>
    def list = new DListImpl[String](pd(load, load))
    val l3 = list.filter(_ => true).filter(_ => true)
    normalise(l3.run) === "Vector(start, start)"
  }
}