1
0
forked from MTSR/mapserver

fix mapblockaccessor test case

This commit is contained in:
NatureFreshMilk 2019-03-21 15:08:30 +01:00
parent fba3f118d8
commit e0f748d46e
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ func TestSimpleRender(t *testing.T) {
panic(err)
}
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond, 1000)
c := colormapping.NewColorMapping()
_, err = c.LoadVFSColors(false, "/colors.txt")
if err != nil {

View File

@ -38,7 +38,7 @@ func TestTileRender(t *testing.T) {
panic(err)
}
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond, 1000)
c := colormapping.NewColorMapping()
_, err = c.LoadVFSColors(false, "/colors.txt")
if err != nil {