-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Chore] just test infinite loop case for doris connector #10069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -25,6 +25,7 @@ | |||
| import org.apache.seatunnel.e2e.common.junit.TestContainerExtension; | ||||
|
|
||||
| import org.junit.jupiter.api.Assertions; | ||||
| import org.junit.jupiter.api.Disabled; | ||||
| import org.junit.jupiter.api.TestTemplate; | ||||
| import org.testcontainers.containers.Container; | ||||
|
|
||||
|
|
@@ -57,6 +58,7 @@ public class DorisErrorIT extends AbstractDorisIT { | |||
| Assertions.assertEquals(0, extraCommands.getExitCode(), extraCommands.getStderr()); | ||||
| }; | ||||
|
|
||||
| @Disabled | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This pr is only used to trigger the ci to reproduce this bug. To speed it up, I manually disabled other irrelevant test cases. You can ignore it
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could consider adding a short explanation here, similar to this one: Line 569 in 439b736
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your review ^_^ . This pr is only used to reproduce the problem and does not need to be merged.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have converted it to draft |
||||
| @TestTemplate | ||||
| @DisabledOnContainer( | ||||
| value = {}, | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| env{ | ||
| parallelism = 1 | ||
| job.mode = "BATCH" | ||
| } | ||
|
|
||
| source{ | ||
| Doris { | ||
| fenodes = "doris_e2e:8030" | ||
| username = root | ||
| password = "" | ||
| database = "e2e_source" | ||
| table = "doris_e2e_unique_table" | ||
| doris.batch.size = 10 | ||
| } | ||
| } | ||
|
|
||
| transform {} | ||
|
|
||
| sink{ | ||
| Doris { | ||
| fenodes = "doris_e2e:8030" | ||
| username = root | ||
| password = "" | ||
| table.identifier = "e2e_sink.doris_e2e_cast_error_sink_table" | ||
| sink.enable-2pc = "false" | ||
| sink.label-prefix = "test_json" | ||
| sink.check-interval = 20000 | ||
| doris.batch.size = 10 | ||
| sink.buffer-count = 2 | ||
| sink.buffer-size = 5120 | ||
| doris.config = { | ||
| format="json" | ||
| read_json_by_line="true" | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to adjust the log level to debug level ?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review. This pr is only used to reproduce the problem and does not need to be merged. This log is written for the convenience of observation, as shown in the GitHub CI logs below, the process is stuck in a loop and continuously print this log.
FYI, this problem can only be reproduced under certain conditions. I also spent quite a lot of time creating this test case. If you are interested, you can try running it locally.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,thx