Skip to content

Commit

Permalink
Merge pull request #693 from ykulazhenkov/pr-fix-api-pkg-test
Browse files Browse the repository at this point in the history
Fix tests for API package
  • Loading branch information
e0ne authored Apr 30, 2024
2 parents ac91431 + ec1fe2d commit 9562ef7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- name: test cmd
run: make test-cmd

- name: test api
run: make test-api

- name: test controllers on opensfhit
run: CLUSTER_TYPE=openshift make test-controllers

Expand Down Expand Up @@ -106,6 +109,9 @@ jobs:
- name: test cmd
run: make test-cmd

- name: test api
run: make test-api

- name: test controllers on opensfhit
run: CLUSTER_TYPE=openshift make test-controllers

Expand Down
2 changes: 1 addition & 1 deletion api/v1/testdata/TestIBRendering/simpleib.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"namespace": "testnamespace"
},
"spec": {
"config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }"
"config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }"
}
}
2 changes: 1 addition & 1 deletion api/v1/testdata/TestRendering/chained.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"namespace": "testnamespace"
},
"spec": {
"config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }"
"config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }"
}
}
2 changes: 1 addition & 1 deletion api/v1/testdata/TestRendering/simple.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"namespace": "testnamespace"
},
"spec": {
"config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }"
"config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }"
}
}

0 comments on commit 9562ef7

Please sign in to comment.