File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ impl Proxy for ProxyService {
635635 Ok ( conn) => {
636636 if !conn. is_primary ( ) {
637637 return Err ( tonic:: Status :: failed_precondition (
638- "cannot run schema migration against a replica" ,
638+ "cannot run schema migration against a replica from a replica " ,
639639 ) ) ;
640640 }
641641
@@ -710,7 +710,7 @@ impl Proxy for ProxyService {
710710 Ok ( conn) => {
711711 if !conn. is_primary ( ) {
712712 return Err ( tonic:: Status :: failed_precondition (
713- "cannot run schema migration against a replica" ,
713+ "cannot run schema migration against a replica from a replica " ,
714714 ) ) ;
715715 }
716716
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ fn schema_migration_basics() {
131131}
132132
133133#[ test]
134- fn error_on_replicate ( ) {
134+ fn schema_migration_via_replica ( ) {
135135 let mut sim = Builder :: new ( )
136136 . simulation_duration ( Duration :: from_secs ( 1000 ) )
137137 . build ( ) ;
You can’t perform that action at this time.
0 commit comments