(bt *BlipTester)
| 17 | ) |
| 18 | |
| 19 | func sendGetCheckpointRequest(bt *BlipTester) { |
| 20 | t := bt.restTester.TB() |
| 21 | rq := bt.newRequest() |
| 22 | rq.SetProfile("getCheckpoint") |
| 23 | require.True(t, bt.sender.Send(rq)) |
| 24 | errorCode, exists := rq.Response().Properties["Error-Code"] |
| 25 | require.True(t, exists) |
| 26 | require.Equal(t, "404", errorCode) |
| 27 | } |
| 28 | |
| 29 | // waitForStatGreaterThan will retry for up to 20 seconds until the result of getStatFunc is equal to the expected value. |
| 30 | func waitForStatGreaterThan(t *testing.T, getStatFunc func() int64, expected int64) { |
no test coverage detected