diff --git a/server/mapblockrenderer/renderer_test.go b/server/mapblockrenderer/renderer_test.go index b54ff64..1634d82 100644 --- a/server/mapblockrenderer/renderer_test.go +++ b/server/mapblockrenderer/renderer_test.go @@ -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 { diff --git a/server/tilerenderer/renderer_test.go b/server/tilerenderer/renderer_test.go index 2b76fc3..02e27be 100644 --- a/server/tilerenderer/renderer_test.go +++ b/server/tilerenderer/renderer_test.go @@ -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 {