Either reduce the end time, or increase the time out variable for dune_add_test if this is really not possible.