Skip to content

Commit 13603b1

Browse files
committed
remove unused dependecy and rmeove test
1 parent 86542a1 commit 13603b1

File tree

4 files changed

+1
-24
lines changed

4 files changed

+1
-24
lines changed

go.mod

-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ require (
7979
github.com/sergi/go-diff v1.2.0 // indirect
8080
github.com/shoenig/go-m1cpu v0.1.6 // indirect
8181
github.com/stretchr/objx v0.5.2 // indirect
82-
github.com/tidwall/gjson v1.18.0 // indirect
83-
github.com/tidwall/match v1.1.1 // indirect
84-
github.com/tidwall/pretty v1.2.1 // indirect
85-
github.com/tidwall/sjson v1.2.5 // indirect
8682
github.com/tklauser/go-sysconf v0.3.12 // indirect
8783
github.com/tklauser/numcpus v0.6.1 // indirect
8884
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect

go.sum

-10
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
217217
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
218218
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
219219
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
220-
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
221-
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
222-
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
223-
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
224-
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
225-
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
226-
github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
227-
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
228-
github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
229-
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
230220
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
231221
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
232222
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=

rest/api_test.go

-9
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@ func TestRoot(t *testing.T) {
7878
assert.Equal(t, "GET, HEAD", response.Header().Get("Allow"))
7979
}
8080

81-
func TestGreg(t *testing.T) {
82-
rt := NewRestTester(t, nil)
83-
defer rt.Close()
84-
85-
rt.PutDoc("doc1", `{"foo":"bar"}`)
86-
87-
time.Sleep(5 * time.Second)
88-
}
89-
9081
func TestPublicRESTStatCount(t *testing.T) {
9182
rt := NewRestTester(t, &RestTesterConfig{SyncFn: channels.DocChannelsSyncFunction})
9283
defer rt.Close()

tools/cache_perf_tool/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939

4040
func main() {
4141
mode := flag.String("mode", processEntry, "Mode for the tool to run in, either dcp or processEntry.")
42-
nodes := flag.Int("sgwNodes", 1, "Number of sgw nodes to abstract.")
42+
nodes := flag.Int("sgwNodes", 1, "Number of sgw nodes to abstract. NOTE only relevant for processEntry mode.")
4343
batchSize := flag.Int("batchSize", 10, "Batch size for the sequence allocator.")
4444
timeToRun := flag.Duration("duration", 5*time.Minute, "Duration to run the test for in minutes. Examples: 3m for 3 minutes, 30s for 30 seconds etc")
4545
delays := flag.String("writeDelay", "0", "Delay between writes in milliseconds. Must be entered in format <delayMS>,<delayMS>,<delayMS>.")

0 commit comments

Comments
 (0)