Backport repl_rt_cascading_rtq test to 1.4