Improve StreamMoveInProgressError (#3376)

by adding progress indicators

Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
Matthias Hanel
2022-08-17 15:12:32 -07:00
committed by GitHub
parent 8612ca66c8
commit 9892a132e7
4 changed files with 43 additions and 10 deletions

View File

@@ -1778,7 +1778,7 @@ func TestJetStreamSuperClusterMovingStreamsAndConsumers(t *testing.T) {
Replicas: replicas,
Placement: &nats.Placement{Tags: []string{"cloud:aws"}},
})
require_Error(t, err, NewJSStreamMoveInProgressError())
require_Contains(t, err.Error(), "stream move already in progress")
checkFor(t, 10*time.Second, 10*time.Millisecond, func() error {
si, err := js.StreamInfo("MOVE")