Merge branch 'main' of https://gitea.inhome.blapointe.com/render/slack-bot-vr into main
commit
39ed9280e1
|
|
@ -86,7 +86,7 @@ func testAI(t *testing.T, ai AI) {
|
||||||
|
|
||||||
t.Run("simulation", func(t *testing.T) {
|
t.Run("simulation", func(t *testing.T) {
|
||||||
d := NewRAM()
|
d := NewRAM()
|
||||||
FillWithTestdata(ctx, d)
|
FillWithTestdata(ctx, d, renderAssetPattern, renderDatacenterPattern)
|
||||||
s := NewStorage(d)
|
s := NewStorage(d)
|
||||||
|
|
||||||
threads, err := s.Threads(ctx)
|
threads, err := s.Threads(ctx)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
//func newStorageFromTestdata(t *testing.T) {
|
|
||||||
|
|
||||||
func TestStorage(t *testing.T) {
|
func TestStorage(t *testing.T) {
|
||||||
ctx, can := context.WithTimeout(context.Background(), time.Second)
|
ctx, can := context.WithTimeout(context.Background(), time.Second)
|
||||||
defer can()
|
defer can()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue