fix flaky test

[#75143014]

Signed-off-by: Georg Apitz <georg@pivotallabs.com>