Commit df25352
Add unit tests for new Wavelength Zone format
Add comprehensive test coverage for OCPBUGS-77355 fix that updates
the Wavelength Zone detection regex from 'wl\d\-.*$' to '-wlz.*$'.
Test cases added:
- Test traditional format WL zones (us-west-2-wl1-sea-wlz-1)
- Test new format WL zones (us-east-1-foe-wlz-1a) - PRIMARY FIX
- Test mixed traditional and new format zones
- Test only new format zones
The new regex correctly identifies all Wavelength Zone formats that
contain the '-wlz' segment, including the new format zones that were
previously not recognized by the old 'wl\d\-' pattern.1 parent 5f336a9 commit df25352
1 file changed
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
887 | 889 | | |
888 | | - | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
889 | 907 | | |
890 | | - | |
891 | | - | |
892 | 908 | | |
893 | 909 | | |
894 | 910 | | |
| |||
0 commit comments