Skip to content

Commit 93592d6

Browse files
author
Tom Barnes
committed
Minor enhancement to checkBeans.py at QA's request.
1 parent cc40803 commit 93592d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/integration-tests/introspector/checkBeans.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# For example:
1616
# /Servers/admin-server,ListenAddress,,domain1-admin-server
1717
#
18+
# If you don't want to check the original-val is as expected
19+
# then specify an asterisk (*) instead of the expected value.
1820
#
1921
# Then run this program:
2022
# wlst.sh checkBeans admin_name admin_pass url input_file_name
@@ -75,7 +77,7 @@ def addError(err):
7577
print("Info: originalActual='" + originalActual + "'")
7678
print("Info: overriddenActual='" + overriddenActual + "'")
7779

78-
if originalActual != originalExpected:
80+
if originalExpected != '*' and originalActual != originalExpected:
7981
addError(
8082
"Error: got '" + originalActual + "'"
8183
+ " but expected value '" + originalExpected + "'"

0 commit comments

Comments
 (0)