mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -3306,6 +3306,7 @@ func TestJetStreamClusterStreamUpdateSyncBug(t *testing.T) {
|
||||
}
|
||||
|
||||
// We need to snapshot to force upper layer catchup vs RAFT layer.
|
||||
c.waitOnAllCurrent()
|
||||
mset, err := c.streamLeader("$G", "TEST").GlobalAccount().lookupStream("TEST")
|
||||
if err != nil {
|
||||
t.Fatalf("Expected to find a stream for %q", "TEST")
|
||||
@@ -3314,6 +3315,7 @@ func TestJetStreamClusterStreamUpdateSyncBug(t *testing.T) {
|
||||
t.Fatalf("Unexpected error: %v", err)
|
||||
}
|
||||
|
||||
c.waitOnAllCurrent()
|
||||
nsl = c.restartServer(nsl)
|
||||
c.waitOnStreamCurrent(nsl, "$G", "TEST")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user