forked from MTSR/mapserver
fix tests
This commit is contained in:
parent
630c47af8b
commit
f3935f786c
@ -12,6 +12,7 @@ import (
|
||||
"mapserver/testutils"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestSimpleRender(t *testing.T) {
|
||||
@ -43,7 +44,7 @@ func TestSimpleRender(t *testing.T) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
cache := mapblockaccessor.NewMapBlockAccessor(a)
|
||||
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
|
||||
c := colormapping.NewColorMapping()
|
||||
_, err = c.LoadVFSColors(false, "/colors.txt")
|
||||
if err != nil {
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"mapserver/tiledb"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"time"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@ -38,7 +38,7 @@ func TestTileRender(t *testing.T) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
cache := mapblockaccessor.NewMapBlockAccessor(a)
|
||||
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
|
||||
c := colormapping.NewColorMapping()
|
||||
_, err = c.LoadVFSColors(false, "/colors.txt")
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user