diff --git a/test/leafnode_test.go b/test/leafnode_test.go index 63cd123b..2c84dac3 100644 --- a/test/leafnode_test.go +++ b/test/leafnode_test.go @@ -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 {