Skip to content

Commit b6e10e8

Browse files
fix scala?
1 parent df476c8 commit b6e10e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hugegraph-spark-connector/src/test/scala/org/apache/hugegraph/spark/connector/SinkExampleTest.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ class SinkExampleTest {
106106
.option("host", DEFAULT_HOST)
107107
.option("port", DEFAULT_PORT)
108108
.option("graph", DEFAULT_GRAPH)
109+
.option("username", "admin")
110+
.option("password", "pa")
109111
.option("data-type", "vertex")
110112
.option("label", "software")
111113
.option("ignored-fields", "ISBN")
@@ -137,6 +139,8 @@ class SinkExampleTest {
137139
.option("host", DEFAULT_HOST)
138140
.option("port", DEFAULT_PORT)
139141
.option("graph", DEFAULT_GRAPH)
142+
.option("username", "admin")
143+
.option("password", "pa")
140144
.option("data-type", "edge")
141145
.option("label", "knows")
142146
.option("source-name", "source")
@@ -165,6 +169,8 @@ class SinkExampleTest {
165169
.option("host", DEFAULT_HOST)
166170
.option("port", DEFAULT_PORT)
167171
.option("graph", DEFAULT_GRAPH)
172+
.option("username", "admin")
173+
.option("password", "pa")
168174
.option("data-type", "edge")
169175
.option("label", "created")
170176
.option("source-name", "source") // customize

0 commit comments

Comments
 (0)