Skip to content

Commit

Permalink
update match statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Feb 24, 2023
1 parent e74ec31 commit 9628e33
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class WriteInsertSuite extends AnyFunSuite with BeforeAndAfterAll {
test("write vertex into test_write_string space with insert mode") {
SparkMock.writeVertex()
val addresses: List[Address] = List(new Address("127.0.0.1", 9669))
val graphProvider = new GraphProvider(addresses, 3000)
val graphProvider = new GraphProvider(addresses, 3000)

graphProvider.switchSpace("root", "nebula", "test_write_string")
val createIndexResult: ResultSet = graphProvider.submit(
Expand All @@ -50,7 +50,7 @@ class WriteInsertSuite extends AnyFunSuite with BeforeAndAfterAll {
SparkMock.writeEdge()

val addresses: List[Address] = List(new Address("127.0.0.1", 9669))
val graphProvider = new GraphProvider(addresses, 3000)
val graphProvider = new GraphProvider(addresses, 3000)

graphProvider.switchSpace("root", "nebula", "test_write_string")
val createIndexResult: ResultSet = graphProvider.submit(
Expand All @@ -63,7 +63,7 @@ class WriteInsertSuite extends AnyFunSuite with BeforeAndAfterAll {

graphProvider.submit("use test_write_string;")
val resultSet: ResultSet =
graphProvider.submit("match (v:person_connector)-[e:friend_connector] -> () return e;")
graphProvider.submit("match (v:person_connector)-[e:friend_connector]-> () return e;")
assert(resultSet.isSucceeded)
assert(resultSet.getColumnNames.size() == 1)
assert(resultSet.getRows.size() == 13)
Expand Down

0 comments on commit 9628e33

Please sign in to comment.