MDL-47815 assign: Fix random unit test fails

This test was failing when it was run really slowly (looking at you oracle).