(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestInvokeDone(t *testing.T) { |
| 46 | rtParams := &NewRuntimeParameters{ |
| 47 | RuntimeID: "bb", |
| 48 | ConcurrentMode: false, |
| 49 | StreamMode: false, |
| 50 | WaitRuntimeAliveTimeout: 3, |
| 51 | Resource: &api.Resource{}, |
| 52 | } |
| 53 | rt := NewRuntimeInfo(rtParams) |
| 54 | req := NewRequestInfo("aa", rt) |
| 55 | nowT := time.Now() |
| 56 | startT := nowT.UnixNano() |
| 57 | endT := nowT.Add(time.Millisecond + 100*time.Microsecond).UnixNano() |
| 58 | req.SetInitTime(startT, endT) |
| 59 | //req.store = |
| 60 | req.InvokeDone() |
| 61 | t.Logf("reqinfo = %+v", req) |
| 62 | } |
nothing calls this directly
no test coverage detected