(t *testing.T)
| 74 | } |
| 75 | |
| 76 | func TestGetRuntime(t *testing.T) { |
| 77 | rtMap := initRuntimeList(1) |
| 78 | id := "runtime-id-001" |
| 79 | rtMap.rtMap.Store(id, "xxx") |
| 80 | _, err := rtMap.GetRuntime(id) |
| 81 | assert.Equal(t, RuntimeInfoError{id}.Error(), err.Error()) |
| 82 | } |
| 83 | |
| 84 | func TestFindWarmRuntime(t *testing.T) { |
| 85 | rtMap := initRuntimeList(3) |
nothing calls this directly
no test coverage detected