[SEBA-916] Restored BBR and added it to the 'make test' target
Change-Id: Ifac21bae93017a680edbeff071f8574ab70a3d9b
diff --git a/internal/bbsim/devices/onu.go b/internal/bbsim/devices/onu.go
index 9ab83fa..51d9642 100644
--- a/internal/bbsim/devices/onu.go
+++ b/internal/bbsim/devices/onu.go
@@ -438,8 +438,8 @@
// after DiscoveryRetryDelay check if the state is the same and in case send a new OnuDiscIndication
go func(delay time.Duration) {
+ time.Sleep(delay)
if o.InternalState.Current() == "discovered" {
- time.Sleep(delay)
o.sendOnuDiscIndication(msg, stream)
}
}(o.DiscoveryRetryDelay)