@@ -19,7 +19,6 @@ func TestPatchChaosEngineStatus(t *testing.T) {
1919 fakeServiceAcc := "Fake Service Account"
2020 fakeAppLabel := "Fake Label"
2121 fakeAppKind := "Fake Kind"
22- fakeAnnotationCheck := "Fake Annotation Check"
2322 expStatus := ExperimentStatus {
2423 Name : "Fake exp Name" ,
2524 Status : v1alpha1 .ExperimentStatusRunning ,
@@ -41,10 +40,9 @@ func TestPatchChaosEngineStatus(t *testing.T) {
4140 },
4241 Spec : v1alpha1.ChaosEngineSpec {
4342 ChaosServiceAccount : fakeServiceAcc ,
44- AnnotationCheck : fakeAnnotationCheck ,
45- Appinfo : v1alpha1.ApplicationParams {
46- Applabel : fakeAppLabel ,
43+ Appinfo : & v1alpha1.ApplicationParams {
4744 Appns : engineDetails .EngineNamespace ,
45+ Applabel : fakeAppLabel ,
4846 AppKind : fakeAppKind ,
4947 },
5048 },
@@ -67,10 +65,9 @@ func TestPatchChaosEngineStatus(t *testing.T) {
6765 },
6866 Spec : v1alpha1.ChaosEngineSpec {
6967 ChaosServiceAccount : fakeServiceAcc ,
70- AnnotationCheck : fakeAnnotationCheck ,
71- Appinfo : v1alpha1.ApplicationParams {
72- Applabel : fakeAppLabel ,
68+ Appinfo : & v1alpha1.ApplicationParams {
7369 Appns : engineDetails .EngineNamespace ,
70+ Applabel : fakeAppLabel ,
7471 AppKind : fakeAppKind ,
7572 },
7673 },
@@ -123,7 +120,6 @@ func TestUpdateEngineWithResult(t *testing.T) {
123120 fakeServiceAcc := "Fake Service Account"
124121 fakeAppLabel := "Fake Label"
125122 fakeAppKind := "Fake Kind"
126- fakeAnnotationCheck := "Fake Annotation Check"
127123 expStatus := ExperimentStatus {
128124 Name : "Fake-Exp-Name" ,
129125 Status : v1alpha1 .ExperimentStatusRunning ,
@@ -153,10 +149,9 @@ func TestUpdateEngineWithResult(t *testing.T) {
153149 },
154150 Spec : v1alpha1.ChaosEngineSpec {
155151 ChaosServiceAccount : fakeServiceAcc ,
156- AnnotationCheck : fakeAnnotationCheck ,
157- Appinfo : v1alpha1.ApplicationParams {
158- Applabel : fakeAppLabel ,
152+ Appinfo : & v1alpha1.ApplicationParams {
159153 Appns : engineDetails .EngineNamespace ,
154+ Applabel : fakeAppLabel ,
160155 AppKind : fakeAppKind ,
161156 },
162157 JobCleanUpPolicy : "retain" ,
@@ -206,10 +201,9 @@ func TestUpdateEngineWithResult(t *testing.T) {
206201 },
207202 Spec : v1alpha1.ChaosEngineSpec {
208203 ChaosServiceAccount : fakeServiceAcc ,
209- AnnotationCheck : fakeAnnotationCheck ,
210- Appinfo : v1alpha1.ApplicationParams {
211- Applabel : fakeAppLabel ,
204+ Appinfo : & v1alpha1.ApplicationParams {
212205 Appns : engineDetails .EngineNamespace ,
206+ Applabel : fakeAppLabel ,
213207 AppKind : fakeAppKind ,
214208 },
215209 JobCleanUpPolicy : "retain" ,
0 commit comments