Skip to content

Commit 0b85fe2

Browse files
Tests: 8XXX used as default port range.
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift the port range for Unit tests. This problem was resolved a long time ago and is no longer relevant, so it is now safe to use port 8XXX range as the default, as it is more appropriate for testing purposes.
1 parent 78c133d commit 0b85fe2

File tree

101 files changed

+412
-412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+412
-412
lines changed

test/go/404/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1818

1919
func main() {
2020
http.HandleFunc("/", handler)
21-
unit.ListenAndServe(":7080", nil)
21+
unit.ListenAndServe(":8080", nil)
2222
}

test/go/command_line_arguments/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1919

2020
func main() {
2121
http.HandleFunc("/", handler)
22-
unit.ListenAndServe(":7080", nil)
22+
unit.ListenAndServe(":8080", nil)
2323
}

test/go/cookies/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1515

1616
func main() {
1717
http.HandleFunc("/", handler)
18-
unit.ListenAndServe(":7080", nil)
18+
unit.ListenAndServe(":8080", nil)
1919
}

test/go/empty/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ func handler(w http.ResponseWriter, r *http.Request) {}
99

1010
func main() {
1111
http.HandleFunc("/", handler)
12-
unit.ListenAndServe(":7080", nil)
12+
unit.ListenAndServe(":8080", nil)
1313
}

test/go/get_variables/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1313

1414
func main() {
1515
http.HandleFunc("/", handler)
16-
unit.ListenAndServe(":7080", nil)
16+
unit.ListenAndServe(":8080", nil)
1717
}

test/go/mirror/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1717

1818
func main() {
1919
http.HandleFunc("/", handler)
20-
unit.ListenAndServe(":7080", nil)
20+
unit.ListenAndServe(":8080", nil)
2121
}

test/go/ns_inspect/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
9797

9898
func main() {
9999
http.HandleFunc("/", handler)
100-
unit.ListenAndServe(":7080", nil)
100+
unit.ListenAndServe(":8080", nil)
101101
}

test/go/post_variables/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
1515

1616
func main() {
1717
http.HandleFunc("/", handler)
18-
unit.ListenAndServe(":7080", nil)
18+
unit.ListenAndServe(":8080", nil)
1919
}

test/go/variables/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ func handler(w http.ResponseWriter, r *http.Request) {
2626

2727
func main() {
2828
http.HandleFunc("/", handler)
29-
unit.ListenAndServe(":7080", nil)
29+
unit.ListenAndServe(":8080", nil)
3030
}

test/node/404/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ var fs = require('fs');
33

44
require('http').createServer(function (req, res) {
55
res.writeHead(404, {}).end(fs.readFileSync('404.html'));
6-
}).listen(7080);
6+
}).listen(8080);

0 commit comments

Comments
 (0)