@@ -502,13 +502,13 @@ mod tests {
502502 use super :: * ;
503503
504504 const TEST_CERT_LIFETIME : Duration = Duration :: from_hours_unchecked ( 1 ) ;
505- const TEST_SAN : & str = "airflow -0.airflow .default.svc.cluster.local" ;
505+ const TEST_SAN : & str = "product -0.product .default.svc.cluster.local" ;
506506
507507 #[ tokio:: test]
508508 async fn rsa_key_generation ( ) {
509509 let mut ca = CertificateAuthority :: new_rsa ( ) . unwrap ( ) ;
510510 let cert = ca
511- . generate_rsa_leaf_certificate ( "Airflow " , "pod" , [ TEST_SAN ] , TEST_CERT_LIFETIME )
511+ . generate_rsa_leaf_certificate ( "Product " , "pod" , [ TEST_SAN ] , TEST_CERT_LIFETIME )
512512 . expect ( "Must be able to generate an RSA certificate. Perhaps there was an RNG failure" ) ;
513513
514514 assert_cert_attributes ( cert. certificate ( ) ) ;
@@ -518,7 +518,7 @@ mod tests {
518518 async fn ecdsa_key_generation ( ) {
519519 let mut ca = CertificateAuthority :: new_ecdsa ( ) . unwrap ( ) ;
520520 let cert = ca
521- . generate_ecdsa_leaf_certificate ( "Airflow " , "pod" , [ TEST_SAN ] , TEST_CERT_LIFETIME )
521+ . generate_ecdsa_leaf_certificate ( "Product " , "pod" , [ TEST_SAN ] , TEST_CERT_LIFETIME )
522522 . expect ( "ecdsa certificate generation failed" ) ;
523523
524524 assert_cert_attributes ( cert. certificate ( ) ) ;
@@ -529,7 +529,7 @@ mod tests {
529529 // Test subject
530530 assert_eq ! (
531531 cert. subject,
532- Name :: from_str( "CN=Airflow Certificate for pod" ) . unwrap( )
532+ Name :: from_str( "CN=Product Certificate for pod" ) . unwrap( )
533533 ) ;
534534
535535 // Test SAN extension is present
0 commit comments