fix(directory): stabilize rolling upgrade handoff test (#10341)