File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import (
44 _ "embed"
55)
66
7- //go:embed files/deployments.json
8- var collectedDeployments string
7+ //go:embed files/deployments/default .json
8+ var defaultDeployments string
99
1010//go:embed files/nodes.json
1111var collectedNodes string
1212
13- //go:embed files/jobs.json
14- var collectedJobs string
13+ //go:embed files/jobs/test .json
14+ var testJobs string
1515
16- //go:embed files/replicasets.json
17- var collectedReplicaSets string
16+ //go:embed files/replicasets/rook-ceph .json
17+ var rookCephReplicaSets string
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ func Test_deploymentStatus(t *testing.T) {
4646 },
4747 },
4848 files : map [string ][]byte {
49- "cluster-resources/deployments/default.json" : []byte (collectedDeployments ),
49+ "cluster-resources/deployments/default.json" : []byte (defaultDeployments ),
5050 },
5151 },
5252 {
@@ -80,7 +80,7 @@ func Test_deploymentStatus(t *testing.T) {
8080 },
8181 },
8282 files : map [string ][]byte {
83- "cluster-resources/deployments/default.json" : []byte (collectedDeployments ),
83+ "cluster-resources/deployments/default.json" : []byte (defaultDeployments ),
8484 },
8585 },
8686 {
@@ -120,7 +120,7 @@ func Test_deploymentStatus(t *testing.T) {
120120 },
121121 },
122122 files : map [string ][]byte {
123- "cluster-resources/deployments/default.json" : []byte (collectedDeployments ),
123+ "cluster-resources/deployments/default.json" : []byte (defaultDeployments ),
124124 },
125125 },
126126 }
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ func Test_JobStatus(t *testing.T) {
4646 },
4747 },
4848 files : map [string ][]byte {
49- "cluster-resources/jobs/test.json" : []byte (collectedJobs ),
49+ "cluster-resources/jobs/test.json" : []byte (testJobs ),
5050 },
5151 },
5252 {
@@ -80,7 +80,7 @@ func Test_JobStatus(t *testing.T) {
8080 },
8181 },
8282 files : map [string ][]byte {
83- "cluster-resources/jobs/test.json" : []byte (collectedJobs ),
83+ "cluster-resources/jobs/test.json" : []byte (testJobs ),
8484 },
8585 },
8686 {
@@ -120,7 +120,7 @@ func Test_JobStatus(t *testing.T) {
120120 },
121121 },
122122 files : map [string ][]byte {
123- "cluster-resources/jobs/test.json" : []byte (collectedJobs ),
123+ "cluster-resources/jobs/test.json" : []byte (testJobs ),
124124 },
125125 },
126126 {
@@ -138,7 +138,7 @@ func Test_JobStatus(t *testing.T) {
138138 },
139139 },
140140 files : map [string ][]byte {
141- "cluster-resources/jobs/test.json" : []byte (collectedJobs ),
141+ "cluster-resources/jobs/test.json" : []byte (testJobs ),
142142 },
143143 },
144144 }
You can’t perform that action at this time.
0 commit comments