Skip to content

Commit

Permalink
[INLONG-9475][Manager] Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweng11 committed Dec 18, 2023
1 parent 10a05a2 commit 3f12eed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ void testListGroup4BinlogSource() {
.inlongGroupId("1")
.inlongStreamId("2")
.sourceType(SourceType.MYSQL_BINLOG)
.hostname("127.0.0.1")
.status(1)
.user("root")
.password("pwd")
Expand Down Expand Up @@ -560,6 +561,7 @@ void testListStream4AllSink() {
MySQLBinlogSource.builder()
.id(2)
.sourceType(SourceType.MYSQL_BINLOG)
.hostname("127.0.0.1")
.user("user")
.password("pwd")
.build(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public Integer saveSource() {
sourceInfo.setInlongStreamId(GLOBAL_STREAM_ID);
sourceInfo.setSourceType(SourceType.MYSQL_BINLOG);
sourceInfo.setSourceName("binlog_source_in_agent_service_test");
sourceInfo.setHostname("127.0.0.1");
return sourceService.save(sourceInfo, GLOBAL_OPERATOR);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public Integer saveSource() {
String sourceName = "stream_source_service_test";
sourceInfo.setSourceName(sourceName);
sourceInfo.setSourceType(SourceType.MYSQL_BINLOG);
sourceInfo.setHostname("127.0.0.1");
Map<String, Object> properties = Maps.newLinkedHashMap();
properties.put("append-mode", "true");
sourceInfo.setProperties(properties);
Expand Down

0 comments on commit 3f12eed

Please sign in to comment.