File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ impl Proxy for ProxyService {
635
635
Ok ( conn) => {
636
636
if !conn. is_primary ( ) {
637
637
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 " ,
639
639
) ) ;
640
640
}
641
641
@@ -710,7 +710,7 @@ impl Proxy for ProxyService {
710
710
Ok ( conn) => {
711
711
if !conn. is_primary ( ) {
712
712
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 " ,
714
714
) ) ;
715
715
}
716
716
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ fn schema_migration_basics() {
131
131
}
132
132
133
133
#[ test]
134
- fn error_on_replicate ( ) {
134
+ fn schema_migration_via_replica ( ) {
135
135
let mut sim = Builder :: new ( )
136
136
. simulation_duration ( Duration :: from_secs ( 1000 ) )
137
137
. build ( ) ;
You can’t perform that action at this time.
0 commit comments