diff --git a/tests/Monolog/Handler/SyslogUdpHandlerTest.php b/tests/Monolog/Handler/SyslogUdpHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Monolog/Handler/SyslogUdpHandlerTest.php
+++ b/tests/Monolog/Handler/SyslogUdpHandlerTest.php
@@ -2,6 +2,9 @@
 
 namespace Monolog\Handler;
 
+/**
+ * @requires extension sockets
+ */
 class SyslogUdpHandlerTest extends \PHPUnit_Framework_TestCase
 {
     /**
diff --git a/tests/Monolog/Handler/UdpSocketTest.php b/tests/Monolog/Handler/UdpSocketTest.php
index <HASH>..<HASH> 100644
--- a/tests/Monolog/Handler/UdpSocketTest.php
+++ b/tests/Monolog/Handler/UdpSocketTest.php
@@ -4,6 +4,9 @@ namespace Monolog\Handler;
 
 use Monolog\TestCase;
 
+/**
+ * @requires extension sockets
+ */
 class UdpSocketTest extends TestCase
 {
     public function testWeDoNotSplitShortMessages()
avoid test suites failed with Fatal error when sockets extension is not available