Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jun 6, 2024
1 parent ae178a4 commit cf64a44
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 29 deletions.
8 changes: 8 additions & 0 deletions gen/definitions/feature_hmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ attributes:
- disabled
example: enabled
delete_value: disabled
test_prerequisites:
# fix test issue where feature is not immediately enabled
- dn: sys/fm/hmm
class_name: fmHmm
no_delete: true
attributes:
- name: adminSt
value: enabled
8 changes: 4 additions & 4 deletions gen/definitions/vrf_route_target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,22 @@ test_prerequisites:
value: VRF1
- dn: sys/inst-[VRF1]/dom-[VRF1]
class_name: rtctrlDom
dependencies: [0, 1]
dependencies: [1, 2]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]
class_name: rtctrlDomAf
attributes:
- name: type
value: ipv4-ucast
dependencies: [2]
dependencies: [3]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]/ctrl-[ipv4-ucast]
class_name: rtctrlAfCtrl
attributes:
- name: type
value: ipv4-ucast
dependencies: [3]
dependencies: [4]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]/ctrl-[ipv4-ucast]/rttp-[import]
class_name: rtctrlRttP
attributes:
- name: type
value: import
dependencies: [4]
dependencies: [5]
4 changes: 2 additions & 2 deletions gen/definitions/vrf_route_target_address_family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ test_prerequisites:
value: VRF1
- dn: sys/inst-[VRF1]/dom-[VRF1]
class_name: rtctrlDom
dependencies: [0, 1]
dependencies: [1, 2]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]
class_name: rtctrlDomAf
attributes:
- name: type
value: ipv4-ucast
dependencies: [2]
dependencies: [3]
6 changes: 3 additions & 3 deletions gen/definitions/vrf_route_target_direction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ test_prerequisites:
value: VRF1
- dn: sys/inst-[VRF1]/dom-[VRF1]
class_name: rtctrlDom
dependencies: [0, 1]
dependencies: [1, 2]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]
class_name: rtctrlDomAf
attributes:
- name: type
value: ipv4-ucast
dependencies: [2]
dependencies: [3]
- dn: sys/inst-[VRF1]/dom-[VRF1]/af-[ipv4-ucast]/ctrl-[ipv4-ucast]
class_name: rtctrlAfCtrl
attributes:
- name: type
value: ipv4-ucast
dependencies: [3]
dependencies: [4]
15 changes: 14 additions & 1 deletion internal/provider/data_source_nxos_feature_hmm_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions internal/provider/data_source_nxos_vrf_route_target_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion internal/provider/resource_nxos_feature_hmm_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions internal/provider/resource_nxos_vrf_route_target_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf64a44

Please sign in to comment.