From f1e9e4dad38434fadbce63ff05d82f310b0f563b Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 19 Sep 2021 01:47:42 +0300 Subject: [PATCH] test: cleanup stalled socket after running http/unix_sock Otherwise it breaks upload-artifacts: Run actions/upload-artifact@v1 Uploading artifact 'ubuntu-18.04-cmake-NONE-build' from '/home/runner/work/libevent/libevent/build' for run #346 Uploading 1095 files File error 'No such device or address' when uploading file '/home/runner/work/libevent/libevent/build/foo'. ... Error: No such device or address Error: Exit code 1 returned from process: file name '/home/runner/runners/2.282.1/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'. --- test/regress_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/regress_http.c b/test/regress_http.c index b612ff97..8c019010 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -2308,6 +2308,7 @@ static void http_unix_socket_test(void *arg) evhttp_free(myhttp); if (uri) evhttp_uri_free(uri); + unlink("foo"); } #endif -- 2.50.1