Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luck3y committed Apr 23, 2019
1 parent a445f51 commit fc09e89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jboss-eap-config-jgroups/test/ha.bats
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ EOF
# note openshift.KUBE_PING is aliased to kubernetes.KUBE_PING
@test "Generate JGroups ping config - openshift.KUBE_PING" {
expected=$(cat <<EOF
WARN Ping protocol openshift.KUBE_PING is deprecated, replacing with kubernetes.KUBE_PING instead.
<protocol type="kubernetes.KUBE_PING" />
EOF
)
Expand All @@ -92,6 +93,7 @@ EOF
# note openshift.DNS_PING is aliased to dns.DNS_PING
@test "Generate JGroups ping config - openshift.DNS_PING" {
expected=$(cat <<EOF
WARN Ping protocol openshift.DNS_PING is deprecated, replacing with dns.DNS_PING instead.
<protocol type="dns.DNS_PING" ><property name="dns_query"></property><property name="async_discovery_use_separate_thread_per_request">true</property></protocol>
EOF
)
Expand All @@ -105,6 +107,7 @@ EOF
# note openshift.DNS_PING is aliased to dns.DNS_PING
@test "Generate JGroups ping config - openshift.DNS_PING with socket binding" {
expected=$(cat <<EOF
WARN Ping protocol openshift.DNS_PING is deprecated, replacing with dns.DNS_PING instead.
<protocol type="dns.DNS_PING" socket-binding="sb_value"><property name="dns_query"></property><property name="async_discovery_use_separate_thread_per_request">true</property></protocol>
EOF
)
Expand Down

0 comments on commit fc09e89

Please sign in to comment.