Skip to content

Fix flaky resolver_url_test.go due to lack of cleanup

Stan Hu requested to merge sh-fix-flaky-resolve-url-test into main

What does this MR do?

This test was flaky because the previous mock HTTP server was still running when the next HTTP fetch was tried. To ensure this doesn't happen, clean up the mock HTTP server before proceeding. This should fix failures seen in https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/5781557933.

Edited by Stan Hu

Merge request reports

Loading