Fix: use original sequence for url-test group (#201)

This commit is contained in:
gVisor bot 2019-06-13 20:18:07 +08:00
parent 05349cec03
commit e2e4539ccf

View file

@ -5,7 +5,6 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"net" "net"
"sort"
"sync" "sync"
"sync/atomic" "sync/atomic"
"time" "time"
@ -56,7 +55,6 @@ func (u *URLTest) MarshalJSON() ([]byte, error) {
for _, proxy := range u.proxies { for _, proxy := range u.proxies {
all = append(all, proxy.Name()) all = append(all, proxy.Name())
} }
sort.Strings(all)
return json.Marshal(map[string]interface{}{ return json.Marshal(map[string]interface{}{
"type": u.Type().String(), "type": u.Type().String(),
"now": u.Now(), "now": u.Now(),