summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2021-09-19 01:47:42 +0300
committerAzat Khuzhin <azat@libevent.org>2021-09-19 01:47:42 +0300
commitf1e9e4dad38434fadbce63ff05d82f310b0f563b (patch)
tree7bda4b0c18c3b4039c6df1ec86f360556b705151 /test
parentf89e86123c447ad7d3235b7bf7b853449bd1a401 (diff)
downloadlibevent-f1e9e4dad38434fadbce63ff05d82f310b0f563b.tar.gz
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"'.
Diffstat (limited to 'test')
-rw-r--r--test/regress_http.c1
1 files changed, 1 insertions, 0 deletions
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