Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

CollapseTemporalGapsOpSpec is flaky #19

Open
pvcnt opened this issue Mar 29, 2018 · 0 comments
Open

CollapseTemporalGapsOpSpec is flaky #19

pvcnt opened this issue Mar 29, 2018 · 0 comments

Comments

@pvcnt
Copy link
Owner

pvcnt commented Mar 29, 2018

When executed around midnight, this test fails with the following stack trace:

 2016-01-05T00:29:43.853Z was greater than or equal to 2016-01-03T00:00:00.000Z, but 2016-01-05T00:29:43.853Z was not less than or equal to 2016-01-04T00:00:00.000Z (CollapseTemporalGapsOpSpec.scala:47)
  org.scalatest.exceptions.TestFailedException:
  at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)
  at org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6254)
  at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6288)
  at fr.cnrs.liris.locapriv.ops.CollapseTemporalGapsOpSpec$$anonfun$1.apply$mcV$sp(CollapseTemporalGapsOpSpec.scala:47)
  at fr.cnrs.liris.locapriv.ops.CollapseTemporalGapsOpSpec$$anonfun$1.apply(CollapseTemporalGapsOpSpec.scala:33)
  at fr.cnrs.liris.locapriv.ops.CollapseTemporalGapsOpSpec$$anonfun$1.apply(CollapseTemporalGapsOpSpec.scala:33)
  at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  at org.scalatest.Transformer.apply(Transformer.scala:22)
  at org.scalatest.Transformer.apply(Transformer.scala:20)
  at org.scalatest.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1647)
  at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
  at org.scalatest.FlatSpec.withFixture(FlatSpec.scala:1683)
  at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1644)
  at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656)
  at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656)
  at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
  at org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1656)
  at fr.cnrs.liris.locapriv.ops.CollapseTemporalGapsOpSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(CollapseTemporalGapsOpSpec.scala:30)
  at org.scalatest.BeforeAndAfterEach$class.runTest(BeforeAndAfterEach.scala:255)
  at fr.cnrs.liris.locapriv.ops.CollapseTemporalGapsOpSpec.runTest(CollapseTemporalGapsOpSpec.scala:30)
  at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714)
  at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714)
  at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
  at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
  at scala.collection.immutable.List.foreach(List.scala:392)
  at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
  at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390)
  at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427)
  at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
  at scala.collection.immutable.List.foreach(List.scala:392)
  at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
  at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
  at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
  at org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1714)
  at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1683)
  at org.scalatest.Suite$class.run(Suite.scala:1424)
  at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1683)
  at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760)
  at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760)
  at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
  at org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1760)
  at org.scalatest.FlatSpec.run(FlatSpec.scala:1683)
  at org.scalatest.Suite$class.callExecuteOnSuite$1(Suite.scala:1492)
  at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1528)
  at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1526)
  at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
  at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
  at org.scalatest.Suite$class.runNestedSuites(Suite.scala:1526)
  at org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:29)
  at org.scalatest.Suite$class.run(Suite.scala:1421)
  at org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:29)
  at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
  at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
  at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
  at scala.collection.immutable.List.foreach(List.scala:392)
  at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)
  at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1044)
  at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1043)
  at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:2722)
  at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1043)
  at org.scalatest.tools.Runner$.main(Runner.scala:860)
  at org.scalatest.tools.Runner.main(Runner.scala)
  at io.bazel.rulesscala.scala_test.Runner.main(Runner.java:19)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.