This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 2432a4c1ec7 [fix](test) pin insert visible timeout case to master FE 
(#65340)
2432a4c1ec7 is described below

commit 2432a4c1ec7fb6de68e6cda76c50254cdc08a9d4
Author: shuke <[email protected]>
AuthorDate: Fri Jul 10 10:00:59 2026 +0800

    [fix](test) pin insert visible timeout case to master FE (#65340)
    
    ## Summary
    
    - Pin `test_insert_visible_timeout_return_mode` to the master FE before
    running the INSERT checks.
    - Use the same master FE for the session connection and
    `PublishVersionDaemon.stop_publish` debug point.
    - Avoid targeting a non-master FE in master-observers branch-4.1
    regression deployments, where publish is driven by the master FE.
    
    ## Testing
    
    - [x] `git diff --check`
    - [ ] Not run locally: no confirmed branch-4.1 regression cluster was
    available in this local context.
    
    Failure evidence:
    
    - Branch-4.1 NonConcurrent build 201293, occurrence 2000000222
    - Failed runs returned too quickly and did not enter the expected
    visible-timeout path.
---
 .../suites/insert_p0/test_insert_visible_timeout_return_mode.groovy | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/regression-test/suites/insert_p0/test_insert_visible_timeout_return_mode.groovy
 
b/regression-test/suites/insert_p0/test_insert_visible_timeout_return_mode.groovy
index c203fbf412b..0cbf53776b2 100644
--- 
a/regression-test/suites/insert_p0/test_insert_visible_timeout_return_mode.groovy
+++ 
b/regression-test/suites/insert_p0/test_insert_visible_timeout_return_mode.groovy
@@ -15,6 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
+import org.apache.doris.regression.Config
 import org.apache.doris.regression.util.DebugPoint
 import org.apache.doris.regression.util.NodeType
 
@@ -24,10 +25,13 @@ suite("test_insert_visible_timeout_return_mode", 
"nonConcurrent") {
     }
 
     def debugPoint = "PublishVersionDaemon.stop_publish"
-    // Use the configured FE HTTP endpoint so the case also works when SHOW 
FRONTENDS exposes loopback addresses.
+    // PublishVersionDaemon runs on the master FE. The pipeline config 
provides runner-facing
+    // master FE endpoints; do not replace their mapped ports with raw SHOW 
FRONTENDS values.
     def feHttpAddress = context.config.feHttpAddress
     def feHost = feHttpAddress.split(":")[0]
     def feHttpPort = Integer.parseInt(feHttpAddress.split(":")[1])
+    def masterJdbcUrl = Config.buildUrlWithDb(context.getJdbcUrl(), 
context.dbName)
+    context.connectTo(masterJdbcUrl, context.config.jdbcUser, 
context.config.jdbcPassword)
 
     // Prepare a single-replica table so publish blocking deterministically 
drives the visible timeout path.
     sql """ DROP TABLE IF EXISTS test_insert_visible_timeout_return_mode_tbl 
FORCE """


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to