Skip to content

Commit aeaa4ec

Browse files
committed
add test for preload functionality
1 parent dae87d8 commit aeaa4ec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

proxy/proxymanager_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,10 @@ models:
879879
w.Wait()
880880

881881
// make sure they are both loaded
882+
_, foundGroup := proxy.processGroups["test"]
883+
if !assert.True(t, foundGroup, "test group should exist") {
884+
return
885+
}
882886
assert.Equal(t, StateReady, proxy.processGroups["test"].processes["model1"].CurrentState())
883887
assert.Equal(t, StateReady, proxy.processGroups["test"].processes["model2"].CurrentState())
884888
}

0 commit comments

Comments
 (0)