Add integration test for pprof over unix socket
@@ -14,3 +14,8 @@ function teardown() {
CONTAINER_PROFILE=true start_crio
curl --silent --fail --show-error http://localhost:6060/debug/pprof/goroutine > /dev/null
}
+
+@test "pprof over unix socket" {
+ ENABLE_PROFILE_UNIX_SOCKET=true start_crio
+ curl --silent --fail --show-error --unix-socket "$CRIO_SOCKET" http://localhost/debug/pprof/goroutine > /dev/null
+}
