Skip to content

Commit e09d458

Browse files
committed
add custom sit config override test for t3 public address
1 parent d85fe2f commit e09d458

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

integration-tests/src/test/resources/domain-home-on-pv/create-domain-custom-sit-config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def getEnvVar(var):
4949
# ===================================
5050
cd('/Servers/AdminServer')
5151
# Give incorrect listenaddress, introspector overrides with sit-config
52-
set('ListenAddress', '')
52+
set('ListenAddress', '%s-%s' % (domain_uid, admin_server_name_svc))
5353
set('ListenPort', admin_port)
5454
set('Name', admin_server_name)
5555

@@ -58,7 +58,7 @@ def getEnvVar(var):
5858
set('PublicPort', t3_channel_port)
5959
set('PublicAddress', 'junkvalue')
6060
# Give incorrect listenaddress, introspector overrides with sit-config
61-
set('ListenAddress', '')
61+
set('ListenAddress', '%s-%s' % (domain_uid, admin_server_name_svc))
6262
set('ListenPort', t3_channel_port)
6363

6464
cd('/Servers/%s' % admin_server_name)

integration-tests/src/test/resources/domain-home-on-pv/customsitconfig/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<name>admin-server</name>
44
<network-access-point>
55
<name>T3Channel</name>
6-
<public-address f:combine-mode="replace">slc11vit.us.oracle.com</public-address>
6+
<public-address f:combine-mode="replace">${secret:domain12-t3publicaddress.hostname}</public-address>
77
</network-access-point>
88
</server>
99
</domain>

integration-tests/src/test/resources/domain12.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ configuredManagedServerCount: 4
77
initialManagedServerReplicas: 2
88
exposeAdminT3Channel: true
99
exposeAdminNodePort: true
10-
configOverrides: domain12-sitconfigcm
10+
configOverrides: sitconfigcm

0 commit comments

Comments
 (0)