Skip to content

Commit

Permalink
Merge pull request #1041 from spidernet-io/bz/e2e/P00012
Browse files Browse the repository at this point in the history
Add test case P00012
  • Loading branch information
weizhoublue authored Dec 12, 2023
2 parents 591462a + f4dc07d commit d2672a2
Show file tree
Hide file tree
Showing 12 changed files with 315 additions and 123 deletions.
14 changes: 7 additions & 7 deletions test/doc/egressclusterinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

| Case ID | Title | Priority | Smoke | Status | Other |
|---------|--------------------------------------------------------------------------------------------------------------------------------------|----------|-------|--------|-------|
| I00001 | Get egressClusterInfo `default`, the data in the status should be consistent with the data in the cluster | p2 | false | | |
| I00002 | Edit `spec.autoDetect.clusterIP` in egressClusterInfo `default`, `status.clusterIP` data update is correct | p2 | false | | |
| I00003 | Edit `spec.autoDetect.nodeIP` in egressClusterInfo `default`, `status.nodeIP` data update is correct | p2 | false | | |
| I00004 | Edit `spec.autoDetect.podCidrMode` in egressClusterInfo `default`, `status.podCIDR` data update is correct | p2 | false | | |
| I00005 | Edit `spec.extraCidr` in egressClusterInfo `default`, `status.extraCidr` data is updated correctly | p2 | false | | |
| I00006 | When `spec.autoDetect.clusterIP` is `calico`, `ippool` is added or deleted in the cluster, and `status.podCIDR` is updated correctly | p2 | false | | |
| I00007 | Remove egressClusterInfo `default`, will fail | p2 | false | | |
| I00001 | Get egressClusterInfo `default`, the data in the status should be consistent with the data in the cluster | p2 | false | done | |
| I00002 | Edit `spec.autoDetect.clusterIP` in egressClusterInfo `default`, `status.clusterIP` data update is correct | p2 | false | done | |
| I00003 | Edit `spec.autoDetect.nodeIP` in egressClusterInfo `default`, `status.nodeIP` data update is correct | p2 | false | done | |
| I00004 | Edit `spec.autoDetect.podCidrMode` in egressClusterInfo `default`, `status.podCIDR` data update is correct | p2 | false | done | |
| I00005 | Edit `spec.extraCidr` in egressClusterInfo `default`, `status.extraCidr` data is updated correctly | p2 | false | done | |
| I00006 | When `spec.autoDetect.clusterIP` is `calico`, `ippool` is added or deleted in the cluster, and `status.podCIDR` is updated correctly | p2 | false | done | |
| I00007 | Remove egressClusterInfo `default`, will fail | p2 | false | done | |
14 changes: 7 additions & 7 deletions test/doc/egressclusterinfo_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

| Case ID | Title | Priority | Smoke | Status | Other |
|---------|----------------------------------------------------------------------------------------|----------|-------|--------|-------|
| I00001 | 获取 egressClusterInfo `default`,status 中数据应该与集群中数据一直 | p2 | false | | |
| I00002 | 编辑 egressClusterInfo `default``spec.autoDetect.clusterIP``status.clusterIP` 数据更新正确 | p2 | false | | |
| I00003 | 编辑 egressClusterInfo `default``spec.autoDetect.nodeIP``status.nodeIP` 数据更新正确 | p2 | false | | |
| I00004 | 编辑 egressClusterInfo `default``spec.autoDetect.podCidrMode``status.podCIDR` 数据更新正确 | p2 | false | | |
| I00005 | 编辑 egressClusterInfo `default``spec.extraCidr``status.extraCidr` 数据更新正确 | p2 | false | | |
| I00006 |`spec.autoDetect.clusterIP``calico` 时,集群中添加或删除 `ippool``status.podCIDR` 更新正确 | p2 | false | | |
| I00007 | 删除 egressClusterInfo `default`,会失败 | p2 | false | | |
| I00001 | 获取 egressClusterInfo `default`,status 中数据应该与集群中数据一直 | p2 | false | done | |
| I00002 | 编辑 egressClusterInfo `default``spec.autoDetect.clusterIP``status.clusterIP` 数据更新正确 | p2 | false | done | |
| I00003 | 编辑 egressClusterInfo `default``spec.autoDetect.nodeIP``status.nodeIP` 数据更新正确 | p2 | false | done | |
| I00004 | 编辑 egressClusterInfo `default``spec.autoDetect.podCidrMode``status.podCIDR` 数据更新正确 | p2 | false | done | |
| I00005 | 编辑 egressClusterInfo `default``spec.extraCidr``status.extraCidr` 数据更新正确 | p2 | false | done | |
| I00006 |`spec.autoDetect.clusterIP``calico` 时,集群中添加或删除 `ippool``status.podCIDR` 更新正确 | p2 | false | done | |
| I00007 | 删除 egressClusterInfo `default`,会失败 | p2 | false | done | |
2 changes: 1 addition & 1 deletion test/doc/egressendpointslice.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

| Case ID | Title | Priority | Smoke | Status | Other |
|---------|--------------------------------------------------------------------------------------------------------------------------------------|----------|-------|--------|-------|
| S00001 | After repeatedly creating and deleting `pods` matched by a specific `policy`, check the egress IP addresses of all `pods` | p2 | false | | |
| S00001 | After repeatedly creating and deleting `pods` matched by a specific `policy`, check the egress IP addresses of all `pods` | p2 | false | done | |
2 changes: 1 addition & 1 deletion test/doc/egressendpointslice_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

| Case ID | Title | Priority | Smoke | Status | Other |
|---------|----------------------------------------------------------------------------------------|----------|-------|--------|-------|
| S00001 | 不断增删 `policy` 所匹配到的 `pods`,几轮增删后,判断所有 `pods` 的出口 `IP` | p2 | false | | |
| S00001 | 不断增删 `policy` 所匹配到的 `pods`,几轮增删后,判断所有 `pods` 的出口 `IP` | p2 | false | done | |
Loading

0 comments on commit d2672a2

Please sign in to comment.