MDL-35382 fix random course test failures