Uvm test hang when adding #delay in sequence or driver

In reply to chr_sue:

Hello chr_sue,

Thank you for your answer. I know that using Delay in sequence or driver is not the best practice but it is not the cause why the test is hanging. I removed the Delay in the driver and added 3 clock cycles wait(@(vif.dr_cb)) but the test hangs after the second cycle, like the third one never arrives, which it’s really weird given that the first two clocks did.

As I explained before the test hangs if i add a Delay in the run_phase of the test before dropping the objection, maybe this is not a good practice neither, but i am just trying to debug and figure out what is happening.

I have several functional UVM tb and i have tried adding delays in drivers, sequences and tests, just to see if they hang but they just run fine.
Any additional idea debugging this problem?

Thank you so much again