Skip to content

Commit 40e1569

Browse files
committed
[fix](test) keep insert timeout case on reachable FE host
1 parent b544a8e commit 40e1569

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎regression-test/suites/insert_p0/test_insert_visible_timeout_return_mode.groovy‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ suite("test_insert_visible_timeout_return_mode", "nonConcurrent") {
2525
}
2626

2727
def debugPoint = "PublishVersionDaemon.stop_publish"
28-
// PublishVersionDaemon runs on the master FE, so keep both the session and debug point on master.
29-
def feHost = getMasterIp()
28+
// PublishVersionDaemon runs on the master FE. Use the configured runner-reachable host and master FE ports,
29+
// because SHOW FRONTENDS can expose loopback or internal addresses in regression deployments.
30+
def feHost = context.config.feHttpAddress.split(":")[0]
3031
def feHttpPort = getMasterPort()
3132
def feQueryPort = getMasterPort("query")
3233
def masterJdbcUrl = Config.buildUrlWithDb(feHost, feQueryPort, context.dbName)

0 commit comments

Comments
 (0)