You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(CAT-1805) Update tests to account for PDK integration
This module is currently used in oder to test the pdk, with commands being run against it.
As part of this however the values returned by the tests I have updated here can vary between the PDK integration test suite on Jenkins and the MOTD test suite on Github Actions.
This change aims to resolve this by generalizing the expected values that can very between them.
Copy file name to clipboardExpand all lines: spec/classes/motd_spec.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@
47
47
# The following Regex checks for the matching content in this comment and allows for two different IP values to be matched after foo.example.com. This is a workaround to ensure that PDK
48
48
# integration testing passes while the MOTD unit tests dont break. The string we are looking for is:
49
49
# "RedHat 9.3 x86_64\n\nFQDN: foo.example.com (172.16.254.254 OR 10.109.1.2)\nProcessor: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz\nKernel: Linux\nMemory Size: 1.44 GiB\n",
# The following Regex checks for the matching content in this comment and allows for two different IP values to be matched after foo.example.com. This is a workaround to ensure that PDK
207
207
# integration testing passes while the MOTD unit tests dont break. The string we are looking for is:
0 commit comments