Permalink
Browse files

make sure dbs are materialized in integration tests.

  • Loading branch information...
1 parent ce3bde4 commit 3ef1e3c050a07b00efda4568e3291302cde53e8f Robey Pointer committed Jun 18, 2010
View
2 src/test/scala/com/twitter/flockdb/integration/IntersectionSpec.scala
@@ -20,6 +20,8 @@ object IntersectionSpec extends ConfiguredSpecification with EdgesDatabase {
val darcy = 4L
var queryEvaluatorFactories: List[QueryEvaluatorFactory] = null
+ materialize(config.configMap("edges"))
+
def intersection_of(user1: Long, user2: Long, page: Page) = {
val op1 = new SelectOperation(SelectOperationType.SimpleQuery)
op1.setTerm(new QueryTerm(user1, FOLLOWS, true))
View
2 src/test/scala/com/twitter/flockdb/integration/SelectCompilerSpec.scala
@@ -23,6 +23,8 @@ object SelectCompilerSpec extends ConfiguredSpecification with EdgesDatabase wit
val carl = 3L
val darcy = 4L
+ materialize(config.configMap("edges"))
+
doBefore {
reset(flock)
}

0 comments on commit 3ef1e3c

Please sign in to comment.