Index: test/cctest/test-sockets.cc |
diff --git a/test/cctest/test-sockets.cc b/test/cctest/test-sockets.cc |
index ad7354002ff2bd43863291030e1a3b90e0d37899..2f7941c6ede179c817a3276089d9151c4fdf8625 100644 |
--- a/test/cctest/test-sockets.cc |
+++ b/test/cctest/test-sockets.cc |
@@ -124,7 +124,7 @@ static void SendAndReceive(int port, char *data, int len) { |
TEST(Socket) { |
// Make sure this port is not used by other tests to allow tests to run in |
// parallel. |
- static const int kPort = 5859; |
+ static const int kPort = 5859 + FlagDependentPortOffset(); |
bool ok; |