()
| 290 | } |
| 291 | |
| 292 | @Test (expected = IllegalStateException.class) |
| 293 | public void timeoutAlreadyTimedout() throws Exception { |
| 294 | final GetRequest rpc = new GetRequest(TABLE, KEY, FAMILY); |
| 295 | rpc.enqueueTimeout(regionclient); |
| 296 | timer.tasks.get(0).getKey().run(rpc.timeout_handle); |
| 297 | // better not happen |
| 298 | timer.tasks.get(0).getKey().run(rpc.timeout_handle); |
| 299 | } |
| 300 | |
| 301 | @Test |
| 302 | public void timeoutDifferentHandle() throws Exception { |
nothing calls this directly
no test coverage detected