projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
cd7d49d
)
testing: limit random port range to probably unused ports
author
Michael Wallner
<mike@php.net>
Wed, 30 Sep 2020 09:58:21 +0000
(11:58 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 30 Sep 2020 09:58:21 +0000
(11:58 +0200)
test/lib/random.cpp
patch
|
blob
|
history
diff --git
a/test/lib/random.cpp
b/test/lib/random.cpp
index 3681fcc8727a3aaeec768f5abe27eee25c6ce883..359c1f3487ad5a2e97c78b3ed8d685d1b7a7e7ea 100644
(file)
--- a/
test/lib/random.cpp
+++ b/
test/lib/random.cpp
@@
-5,7
+5,7
@@
unsigned random_port() {
retry:
- auto port = random_num(
2<<9, 2<<15
);
+ auto port = random_num(
5000, 32000
);
Connection conn(port);
if (!conn.open()) {