Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/3.1' into 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner committed May 24, 2017
1 parent 5f4da5f commit a7ff98f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -56,7 +56,7 @@ class PatternComprehensionAcceptanceTest extends ExecutionEngineFunSuite with Ne
| ][0..5] AS related
""".stripMargin

val result = executeWithCostPlannerOnly(query)
val result = executeWithCostPlannerAndInterpretedRuntimeOnly(query)
result.toList should equal(
List(Map("related" -> List(Map("tagged" -> Vector(Map("owner" -> Map("name" -> "Michael Hunger"))))))))
}
Expand All @@ -72,7 +72,7 @@ class PatternComprehensionAcceptanceTest extends ExecutionEngineFunSuite with Ne
|WITH collect(t) AS tweets
|RETURN test.toSet([ tweet IN tweets | [ (tweet)<-[:POSTED]-(user) | user] ]) AS users""".stripMargin

val result = executeWithCostPlannerOnly(query)
val result = executeWithCostPlannerAndInterpretedRuntimeOnly(query)
result.toList should equal(List(Map("users" -> List(List(n2)))))
}

Expand All @@ -88,7 +88,7 @@ class PatternComprehensionAcceptanceTest extends ExecutionEngineFunSuite with Ne
|WITH [ tweet IN tweets | [ (tweet)<-[:POSTED]-(user) | user] ] AS pattern
|RETURN test.toSet(pattern) AS users""".stripMargin

val result = executeWithCostPlannerOnly(query)
val result = executeWithCostPlannerAndInterpretedRuntimeOnly(query)
result.toList should equal(List(Map("users" -> List(List(n2)))))
}

Expand Down

0 comments on commit a7ff98f

Please sign in to comment.