Updated static-pages test to add retry logic