Drain time is not getting set

In reply to chr_sue:

Hi chr_sue,

I am getting the following error if I follow that

UVM/TEST/pcie_base_test.sv, 141
“uvm_top.”
Could not find member ‘set_drain_time’ in class ‘uvm_root’,