@@ -723,19 +723,19 @@ func TestCreateCSVRequirementsMetCRD(t *testing.T) {
723
723
err = wait .Poll (pollInterval , pollDuration , func () (bool , error ) {
724
724
dep , err := c .GetDeployment (testNamespace , depName )
725
725
if k8serrors .IsNotFound (err ) {
726
- fmt .Printf ("deployment %s not found" , depName )
726
+ fmt .Printf ("deployment %s not found\n " , depName )
727
727
return false , nil
728
728
} else if err != nil {
729
- fmt .Printf ("unexpected error fetching deployment %s" , depName )
729
+ fmt .Printf ("unexpected error fetching deployment %s\n " , depName )
730
730
return false , err
731
731
}
732
732
if dep .Status .UpdatedReplicas == * (dep .Spec .Replicas ) &&
733
733
dep .Status .Replicas == * (dep .Spec .Replicas ) &&
734
734
dep .Status .AvailableReplicas == * (dep .Spec .Replicas ) {
735
- fmt .Printf ("deployment ready" )
735
+ fmt .Println ("deployment ready" )
736
736
return true , nil
737
737
}
738
- fmt .Printf ("deployment not ready" )
738
+ fmt .Println ("deployment not ready" )
739
739
return false , nil
740
740
})
741
741
require .NoError (t , err )
@@ -1009,12 +1009,12 @@ func TestCreateCSVWithOwnedAPIService(t *testing.T) {
1009
1009
// Induce a cert rotation
1010
1010
fetchedCSV .Status .CertsLastUpdated = metav1 .Now ()
1011
1011
fetchedCSV .Status .CertsRotateAt = metav1 .Now ()
1012
- fetchedCSV , err = crc .OperatorsV1alpha1 ().ClusterServiceVersions (operatorNamespace ).UpdateStatus (fetchedCSV )
1012
+ fetchedCSV , err = crc .OperatorsV1alpha1 ().ClusterServiceVersions (testNamespace ).UpdateStatus (fetchedCSV )
1013
1013
require .NoError (t , err )
1014
1014
1015
1015
_ , err = fetchCSV (t , crc , csv .Name , func (csv * v1alpha1.ClusterServiceVersion ) bool {
1016
1016
// Should create deployment
1017
- dep , err = c .GetDeployment (operatorNamespace , depName )
1017
+ dep , err = c .GetDeployment (testNamespace , depName )
1018
1018
require .NoError (t , err )
1019
1019
1020
1020
// Should have a new ca hash annotation
0 commit comments