mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Improve StreamMoveInProgressError (#3376)
by adding progress indicators Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user