mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix flapper, wait for sub to propagate
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1780,6 +1780,9 @@ func TestLeadNodeExportImportComplexSetup(t *testing.T) {
|
||||
})
|
||||
nc2.Flush()
|
||||
|
||||
// Wait for it to make it across.
|
||||
time.Sleep(250 * time.Millisecond)
|
||||
|
||||
// Now send the request on the leaf node client.
|
||||
if _, err := ncl.Request("import.request", []byte("fingers crossed"), 5500*time.Millisecond); err != nil {
|
||||
if atomic.LoadInt32(&gotIt) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user