Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

fix test for config #149

Merged
merged 2 commits into from
Sep 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.vesoft.nebula.client.graph.NebulaPoolConfig
import com.vesoft.nebula.client.graph.data.HostAddress
import com.vesoft.nebula.client.graph.net.NebulaPool
import com.vesoft.nebula.client.storage.StorageClient
import com.vesoft.nebula.exchange.config.TagConfigEntry
import com.vesoft.nebula.exchange.config.{NebulaSinkConfigEntry, SinkCategory, TagConfigEntry}
import com.vesoft.nebula.exchange.utils.NebulaUtils
import com.vesoft.nebula.exchange.{KeyPolicy, MetaProvider, VidType}
import com.vesoft.nebula.meta.PropertyType
Expand Down Expand Up @@ -70,10 +70,11 @@ class NebulaUtilsSuite {
"col10",
"col11",
"col12")
val label = "person"
val label = "person"
val dataSinkConfigEntry = NebulaSinkConfigEntry(SinkCategory.SST, List("127.0.0.1:9669"))
val sourceConfig = TagConfigEntry(label,
null,
null,
dataSinkConfigEntry,
sourceFields,
nebulaFields,
"id",
Expand Down