correct log import
This commit is contained in:
parent
a49d1ddf15
commit
cc560646a7
@ -15,8 +15,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tidwall/log"
|
|
||||||
"github.com/tidwall/tile38/controller"
|
"github.com/tidwall/tile38/controller"
|
||||||
|
"github.com/tidwall/tile38/controller/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
const port = 21098
|
const port = 21098
|
||||||
@ -90,6 +90,7 @@ func TestServer(t *testing.T) {
|
|||||||
t.Run("Set100KB", SubTestSet100KB)
|
t.Run("Set100KB", SubTestSet100KB)
|
||||||
t.Run("Set1MB", SubTestSet1MB)
|
t.Run("Set1MB", SubTestSet1MB)
|
||||||
t.Run("Set10MB", SubTestSet10MB)
|
t.Run("Set10MB", SubTestSet10MB)
|
||||||
|
//t.Run("Set600MB", SubTestSet600MB)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SubTestPingPong(t *testing.T) {
|
func SubTestPingPong(t *testing.T) {
|
||||||
@ -197,6 +198,9 @@ func SubTestSet1MB(t *testing.T) {
|
|||||||
func SubTestSet10MB(t *testing.T) {
|
func SubTestSet10MB(t *testing.T) {
|
||||||
testSet(t, 10*1024*1024, 5000, 1024)
|
testSet(t, 10*1024*1024, 5000, 1024)
|
||||||
}
|
}
|
||||||
|
func SubTestSet600MB(t *testing.T) {
|
||||||
|
testSet(t, 0x1FFFFFFF-50, 5000, 16*1024)
|
||||||
|
}
|
||||||
func buildCommand(arg ...string) []byte {
|
func buildCommand(arg ...string) []byte {
|
||||||
var b []byte
|
var b []byte
|
||||||
b = append(b, '*')
|
b = append(b, '*')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user