调整框架的超时为 15秒
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -9,10 +8,10 @@ func TestProxy(t *testing.T) {
|
||||
main()
|
||||
}
|
||||
|
||||
func TestCapture(t *testing.T) {
|
||||
rootDir := "../server" // Change this to your root directory
|
||||
results := GetZeroInfo(rootDir)
|
||||
for _, result := range results {
|
||||
fmt.Printf("FolderName: %s, Host: %s, Port: %d, PrefixRoute: %v\n", result.FolderName, result.Host, result.Port, result.PrefixRoute)
|
||||
}
|
||||
}
|
||||
// func TestCapture(t *testing.T) {
|
||||
// rootDir := "../server" // Change this to your root directory
|
||||
// results := GetZeroInfo(rootDir)
|
||||
// for _, result := range results {
|
||||
// fmt.Printf("FolderName: %s, Host: %s, Port: %d, PrefixRoute: %v\n", result.FolderName, result.Host, result.Port, result.PrefixRoute)
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user